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? ans: undefine, which may be mean as it does not have value or variable.
Now enter just console in the Console, what output do you get back?
ans: The output that I get is debug and error.
Try also entering typeof console
ans: the out that i get is object.
Answer the following questions:
What does console store?
ans; it might be store data.
What does the syntax console.log or console.assert mean? In particular, what does the . mean?
ans; console.log will record something that happens in our program and print out it in text based in a terminal.
the console.assert writes an error message to console if the assertion is false. If the assertion is true nothing happens.
. means brackets.