Skip to content

Commit 65f5441

Browse files
committed
object.md update
1 parent 28bd937 commit 65f5441

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@ 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+
f log(){[native code]}
89

910
Now enter just `console` in the Console, what output do you get back?
1011

12+
console{debug:f,error:f, info:f, log:f, warn:f,...} and a list of other functions
13+
1114
Try also entering `typeof console`
1215

1316
Answer the following questions:
1417

1518
What does `console` store?
19+
It stores the object
1620
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
21+
the "." is an access operator which allows you to access the log or assert method.

0 commit comments

Comments
 (0)