Skip to content

Commit 5a6e439

Browse files
answered question of the output of console in the consoledevtool
1 parent 5720fea commit 5a6e439

1 file changed

Lines changed: 79 additions & 0 deletions

File tree

Sprint-1/4-stretch-explore/objects.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,85 @@ What output do you get? // I got 'console.log'
88
// ƒ log() { [native code] }
99

1010
Now enter just `console` in the Console, what output do you get back?
11+
/*console {debug: ƒ, error: ƒ, info: ƒ, log: ƒ, warn: ƒ, …}
12+
assert
13+
:
14+
ƒ assert()
15+
clear
16+
:
17+
ƒ clear()
18+
context
19+
:
20+
ƒ context()
21+
count
22+
:
23+
ƒ count()
24+
countReset
25+
:
26+
ƒ countReset()
27+
createTask
28+
:
29+
ƒ createTask()
30+
debug
31+
:
32+
ƒ debug()
33+
dir
34+
:
35+
ƒ dir()
36+
dirxml
37+
:
38+
ƒ dirxml()
39+
error
40+
:
41+
(...n)=> {…}
42+
group
43+
:
44+
ƒ group()
45+
groupCollapsed
46+
:
47+
ƒ groupCollapsed()
48+
groupEnd
49+
:
50+
ƒ groupEnd()
51+
info
52+
:
53+
ƒ info()
54+
log
55+
:
56+
ƒ log()
57+
memory
58+
:
59+
MemoryInfo {totalJSHeapSize: 33100000, usedJSHeapSize: 29400000, jsHeapSizeLimit: 3760000000}
60+
profile
61+
:
62+
ƒ profile()
63+
profileEnd
64+
:
65+
ƒ profileEnd()
66+
table
67+
:
68+
ƒ table()
69+
time
70+
:
71+
ƒ time()
72+
timeEnd
73+
:
74+
ƒ timeEnd()
75+
timeLog
76+
:
77+
ƒ timeLog()
78+
timeStamp
79+
:
80+
ƒ timeStamp()
81+
trace
82+
:
83+
(...n)=> {…}
84+
warn
85+
:
86+
(...n)=> {…}
87+
Symbol(Symbol.toStringTag)
88+
:
89+
"console"*/
1190

1291
Try also entering `typeof console`
1392

0 commit comments

Comments
 (0)