Skip to content

Commit 1a7e2ed

Browse files
Enhance explanations for console object and its methods in objects.md
1 parent 0c994bb commit 1a7e2ed

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@ Try also entering `typeof console`
1313
Answer the following questions:
1414

1515
What does `console` store?
16+
a console stores an object provided by the browser that contains methods for logging information, debugging, and interacting with the developer console.
17+
1618
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
19+
The syntax console.log accesses a property called log on the console object. On the other hand, console.assert means access the assert method of the console object. Finally, the '.' is the member access operator.

0 commit comments

Comments
 (0)