Skip to content

Commit bf465b6

Browse files
committed
completed objects.md stretch-exercised
1 parent 3d392d4 commit bf465b6

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ 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-
8+
answer: the output defines itself
99
Now enter just `console` in the Console, what output do you get back?
10-
10+
answer: it returns the console object containing different built in properties and logging methods
1111
Try also entering `typeof console`
12-
12+
answer: it outputs "object"
1313
Answer the following questions:
1414

1515
What does `console` store?
16+
answer: it is a built in global object that stores methods used to output messages, errors and warnings to the browser console
1617
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
18+
answer:The console.log() static method outputs a message to the console

0 commit comments

Comments
 (0)