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? i get the function log with an example of how it looks
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.
Try also entering typeof console
Answer the following questions:
What does console store? it stores functions that operate on the console.
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.