Skip to content

Commit bccc1dd

Browse files
committed
Complete stretch explore exercises
1 parent f86c338 commit bccc1dd

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎Sprint-2/4-stretch-explore/chrome.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ Now try invoking the function `prompt` with a string input of `"What is your nam
1313

1414
What effect does calling the `prompt` function have?
1515
What is the return value of `prompt`?
16+
Calling the alert function displays a pop-up message to the user.
17+
18+
Calling the prompt function asks the user for information. The return value of prompt is the information the user entered.

‎Sprint-2/4-stretch-explore/objects.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ What output do you get?
99
Now enter just `console` in the Console, what output do you get back?
1010

1111
Try also entering `typeof console`
12+
The console stores an object containing functions and other properties used for interacting with the console.
1213

14+
The syntax console.log or console.assert accesses a function that belongs to the console object. The . means access a property or function that belongs to an object.
1315
Answer the following questions:
1416

1517
What does `console` store?

0 commit comments

Comments
 (0)