Skip to content

Commit 86d2a18

Browse files
completed sprint-1 4 stretch-explore objects
1 parent 1c1dcc5 commit 86d2a18

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@ In this activity, we'll explore some additional concepts that you'll encounter i
55
Open the Chrome devtools Console, type in `console.log` and then hit enter
66

77
What output do you get?
8+
ƒ log() { [native code] }
89

910
Now enter just `console` in the Console, what output do you get back?
10-
11+
console {debug: ƒ, error: ƒ, info: ƒ, log: ƒ, warn: ƒ, …}
1112
Try also entering `typeof console`
12-
13+
" object"
1314
Answer the following questions:
1415

1516
What does `console` store?
17+
console is an object that stores functions used for debugging and displaying messages.
18+
1619
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
20+
The . accesses a property or method on an object.

0 commit comments

Comments
 (0)