You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sprint-1/4-stretch-explore/objects.md
+80Lines changed: 80 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,3 +14,83 @@ Answer the following questions:
14
14
15
15
What does `console` store?
16
16
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
17
+
18
+
Step 1: Type console.log and hit Enter
19
+
20
+
What you’ll see in Chrome’s Console:
21
+
22
+
ƒ log() { [native code] }
23
+
24
+
Meaning:
25
+
This shows that console.log is a function, specifically one that’s built into the browser (that’s what “native code” means — it’s implemented in C++ within Chrome’s V8 engine, not in JavaScript itself).
26
+
27
+
Step 2: Type just console and hit Enter
28
+
29
+
What you’ll see:
30
+
An object printed in the console — something like:
0 commit comments