Skip to content

Commit 25702d2

Browse files
committed
console object
1 parent 3c4f80e commit 25702d2

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,12 @@ Try also entering `typeof console`
1212

1313
Answer the following questions:
1414

15-
What does `console` store?
16-
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
15+
What does `console` store? - is an object of properies of methods
16+
17+
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
18+
19+
* console.log() is call and display something on the terminal/console
20+
* console.assert() checks if the condition is True or False
21+
* the . is also called the dot notation - access something that belongs to an object - method is a function that stores inside a function
22+
23+

0 commit comments

Comments
 (0)