Skip to content

Commit 0ee4d03

Browse files
committed
Clarified explanation of the return value of the prompt function in chrome.md
1 parent e50d90e commit 0ee4d03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sprint-1/4-stretch-explore/chrome.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ Now try invoking the function `prompt` with a string input of `"What is your nam
1717
What effect does calling the `prompt` function have?
1818
It displays the question and asks for your input.
1919
What is the return value of `prompt`?
20-
The name the user enters.
20+
The name the user enters. When the user clicks "Cancel" a null value will be returned by when you click "OK" it will record it as a string even though it is empty.

0 commit comments

Comments
 (0)