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
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,13 @@ In this activity, we'll explore some additional concepts that you'll encounter i
4
4
5
5
Open the Chrome devtools Console, type in `console.log` and then hit enter
6
6
7
-
What output do you get?
7
+
What output do you get? i get the function log with an example of how it looks
8
8
9
-
Now enter just `console` in the Console, what output do you get back?
9
+
Now enter just `console` in the Console, what output do you get back? i get an object console with a list of all the functions that it has.
10
10
11
11
Try also entering `typeof console`
12
12
13
13
Answer the following questions:
14
14
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? it stores functions that operate on the console.
16
+
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean? console.log is a dot notation way of accessing properties of objects and in this case the properties functions. in this case console.log means the log function from the console object.
0 commit comments