In this activity, we'll explore some additional concepts that you'll encounter in more depth later on in the course.
Open the Chrome devtools Console, type in console.log and then hit enter
What output do you get?
// log() { [native code] } i get a function called log.
Now enter just console in the Console, what output do you get back?
I get an object called console which holds a bunch of functions.
Try also entering typeof console
'object'
Answer the following questions:
What does console store?
It stores functions.
What does the syntax console.log or console.assert mean? In particular, what does the . mean?
The '.' means let me access the property inside an object.