Skip to content

Commit 15fb6ca

Browse files
authored
Update objects.md with console syntax explanations
Added syntax help for console.log and console.
1 parent b8a991f commit 15fb6ca

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,20 @@ Open the Chrome devtools Console, type in `console.log` and then hit enter
66

77
What output do you get?
88

9+
[ChunYanWong] The syntax help for console.log
10+
911
Now enter just `console` in the Console, what output do you get back?
1012

13+
[ChunYanWong] The syntax help for console
14+
1115
Try also entering `typeof console`
1216

1317
Answer the following questions:
1418

1519
What does `console` store?
20+
21+
[ChunYanWong] object
22+
1623
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
24+
25+
[ChunYanWong] The method of the object console or the functions of the object console

0 commit comments

Comments
 (0)