Skip to content

Commit b76c5a3

Browse files
committed
I believe that I've completed the first sprint.
1 parent 1cf3f70 commit b76c5a3

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,18 @@ In this activity, we'll explore some additional concepts that you'll encounter i
44

55
Open the Chrome devtools Console, type in `console.log` and then hit enter
66

7-
What output do you get?
7+
What output do you get? output: ƒ log() { [native code] }
88

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?output: console {debug: ƒ, error: ƒ, info: ƒ, log: ƒ, warn: ƒ, …}
1010

11-
Try also entering `typeof console`
11+
Try also entering `typeof console` output : object
1212

1313
Answer the following questions:
1414

15-
What does `console` store?
15+
What does `console` store? stores a collection of methods (functions) that are used to log information or debug JavaScript code.
16+
1617
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
18+
19+
This syntax uses dot notation. In JavaScript, the dot . is used to access a property or method of an object.
20+
21+
console is the object.

0 commit comments

Comments
 (0)