Skip to content

Commit 4ff4356

Browse files
authored
Update objects.md
1 parent b62ef95 commit 4ff4356

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,12 @@ In this activity, we'll explore some additional concepts that you'll encounter i
55
Open the Chrome devtools Console, type in `console.log` and then hit enter
66

77
What output do you get?
8-
## ƒ log() { [native code] }
98

109
Now enter just `console` in the Console, what output do you get back?
11-
## console {debug: ƒ, error: ƒ, info: ƒ, log: ƒ, warn: ƒ, …}
10+
1211
Try also entering `typeof console`
13-
## 'object'
12+
1413
Answer the following questions:
1514

1615
What does `console` store?
17-
## console is an object that stores methods (functions) used for debugging and inspecting values.
1816
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
19-
## console.log - Prints the text to the Console as a log message
20-
## console.assert() writes an error message to the console if the assertion is false
21-
## The dot(.) allows the access of the log method inside the console object

0 commit comments

Comments
 (0)