You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sprint-1/4-stretch-explore/objects.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,18 @@ Open the Chrome devtools Console, type in `console.log` and then hit enter
6
6
7
7
What output do you get?
8
8
9
+
answer: it shows only log function itself.
10
+
9
11
Now enter just `console` in the Console, what output do you get back?
12
+
answer: the output is console object .it shows available function/ method inside console object.
10
13
11
14
Try also entering `typeof console`
15
+
Answer: this shows that console is object.
12
16
13
17
Answer the following questions:
14
18
15
19
What does `console` store?
20
+
answer: this one store an object that contain method used to interact with browser developer console.
21
+
16
22
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
23
+
Answer : this one let us access to log function that store console object. `.` this one is a dot operator used to access something inside object . console.assert means accessing the assert method from the console object.
0 commit comments