Skip to content

Commit cb64829

Browse files
committed
answered objects.md
1 parent cafa65e commit cb64829

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+
- I get "ƒ log() { [native code] }"
10+
911
Now enter just `console` in the Console, what output do you get back?
1012

13+
- I get "console {debug: ƒ, error: ƒ, info: ƒ, log: ƒ, warn: ƒ, …}"
14+
1115
Try also entering `typeof console`
1216

17+
- I get "'object'"
18+
1319
Answer the following questions:
1420

1521
What does `console` store?
22+
- Console stores various data, like "debug", "error", "info", "log" & "warn"
23+
1624
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
25+
- The "." means for it to look inside for information using the tool written on the right.

0 commit comments

Comments
 (0)