You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sprint-2/4-stretch-explore/chrome.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ alert(): shows the message to the users. in this case show "Hello world!" in the
12
12
13
13
Now try invoking the function `prompt` with a string input of `"What is your name?"` - store the return value of your call to `prompt` in an variable called `myName`.
14
14
15
-
What effect does calling the `prompt` function have?
15
+
What effect does calling the `prompt` function have?
16
16
prompt(): returns whatever the user enters. It is provide a textbox that we can type on it.
17
17
What is the return value of `prompt`?
18
18
The Return value of prompt is the text enter by user. in this example return name that we write in the box.
0 commit comments