Skip to content

Commit 28c81a4

Browse files
committed
Add a question mark to a question
1 parent d099e6a commit 28c81a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/Functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ alert("card: " + pickedCard2.card + " of " + pickedCard2.suit);
294294
Here the `pickCard` function will return two different things based on what the user has passed in.
295295
If the users passes in an object that represents the deck, the function will pick the card.
296296
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.
297+
But how do we describe this to the type system?
298298
299299
The answer is to supply multiple function types for the same function as a list of overloads.
300300
This list is what the compiler will use to resolve function calls.

0 commit comments

Comments
 (0)