Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 730 Bytes

File metadata and controls

19 lines (10 loc) · 730 Bytes

Objects

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?

Now enter just console in the Console, what output do you get back?

Try also entering typeof console

Answer the following questions:

What does console store? Console is an object that stores debugging finctions.

What does the syntax console.log or console.assert mean? Console.log or console.assert means accesing a fuction inside the console object.

In particular, what does the . mean? The dot '.' is called dot notation and it used to access properties or methods of an object.