We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d099e6a + 28c81a4 commit a5b3e22Copy full SHA for a5b3e22
pages/Functions.md
@@ -294,7 +294,7 @@ alert("card: " + pickedCard2.card + " of " + pickedCard2.suit);
294
Here the `pickCard` function will return two different things based on what the user has passed in.
295
If the users passes in an object that represents the deck, the function will pick the card.
296
If the user picks the card, we tell them which card they've picked.
297
-But how do we describe this to the type system.
+But how do we describe this to the type system?
298
299
The answer is to supply multiple function types for the same function as a list of overloads.
300
This list is what the compiler will use to resolve function calls.
0 commit comments