Skip to content

Commit c703ce2

Browse files
explaining what does console store as an opject
1 parent dc4066c commit c703ce2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Try also entering `typeof console`
1515
Answer the following questions:
1616

1717
What does `console` store?
18-
The console stores the history of messages your code prints while it runs
18+
Console is a built in object storing methods like .log , .assert
19+
20+
1921
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
2022
"." is called a dot notation where we can get access sth that belong to an object and the syntax means that we are accessing the methods that belong to the object console.

0 commit comments

Comments
 (0)