File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Sprint-1/4-stretch-explore Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 33In this activity, we'll explore some additional concepts that you'll encounter in more depth later on in the course.
44
55Open the Chrome devtools Console, type in ` console.log ` and then hit enter
6+ ans: done!
67
78What output do you get?
8-
9+ ans: undefined
910Now enter just ` console ` in the Console, what output do you get back?
10-
11+ ans: a list of available methods for console.
1112Try also entering ` typeof console `
12-
13+ ans: done!
1314Answer the following questions:
14-
15+ ans: object
1516What does ` console ` store?
1617What does the syntax ` console.log ` or ` console.assert ` mean? In particular, what does the ` . ` mean?
18+ ans: console.log() will print given parameter in it,
19+ console.assert(<expression >, <comments >) only print out the given comment if expression inside it is fault or false
You can’t perform that action at this time.
0 commit comments