Skip to content

Commit 242fca7

Browse files
committed
Answere the questions in objects.md
1 parent bb852dd commit 242fca7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

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

1515
What does `console` store?
16+
17+
`Answer` => console stores methods(function) that you can call to perform actions like logging, warning, or displaying error.
18+
1619
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
20+
21+
`console.log()` prints the out put.
22+
`console.assert()` checks the condition.
23+
`The dot operator` is called member access. It accesses a property or method of an object.

0 commit comments

Comments
 (0)