Skip to content

Commit 851cc57

Browse files
Implement answers
1 parent 271aa39 commit 851cc57

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,17 @@ Answer the following questions:
1414

1515
What does `console` store?
1616
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
17+
18+
line 7 =ƒ log() { [native code] }
19+
20+
line 9 = console {debug: ƒ, error: ƒ, info: ƒ, log: ƒ, warn: ƒ, …}
21+
22+
line 11 = 'object'
23+
24+
25+
line 15 =console is like an object that helps to store methods used for debugging and printing output in the browser’s developer tools.
26+
27+
28+
line 16 = 'console.log'means access or get the log function fom the object console.
29+
'console.assert' means access or get the assert function from the object console.
30+
while the '.' is an access operator that access methods or properties from and object.

0 commit comments

Comments
 (0)