Skip to content

Commit bfc8ee7

Browse files
committed
answered questions about console and its functions.
1 parent 1839259 commit bfc8ee7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ In this activity, we'll explore some additional concepts that you'll encounter i
44

55
Open the Chrome devtools Console, type in `console.log` and then hit enter
66

7-
What output do you get?
7+
What output do you get? i get the function log with an example of how it looks
88

9-
Now enter just `console` in the Console, what output do you get back?
9+
Now enter just `console` in the Console, what output do you get back? i get an object console with a list of all the functions that it has.
1010

1111
Try also entering `typeof console`
1212

1313
Answer the following questions:
1414

15-
What does `console` store?
16-
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
15+
What does `console` store? it stores functions that operate on the console.
16+
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean? console.log is a dot notation way of accessing properties of objects and in this case the properties functions. in this case console.log means the log function from the console object.

0 commit comments

Comments
 (0)