Skip to content

Commit 662b486

Browse files
committed
add explanations for console methods and dot operator usage
1 parent 148acff commit 662b486

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎Sprint-2/4-stretch-explore/objects.md‎

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

1515
What does `console` store?
16+
17+
// `console` stores methods
18+
1619
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
20+
21+
// The `console.log` or `console.assert` means access log or assert method from console object and the `.` is called the dot operator, and it is used to access the property or method of an object or value

0 commit comments

Comments
 (0)