1 | | CONSOLE MESSAGE: line 24: function simple() {}
|
---|
2 | | CONSOLE MESSAGE: line 25: function simple() {}
|
---|
3 | | CONSOLE MESSAGE: line 24: async function asyncSimple() {}
|
---|
4 | | CONSOLE MESSAGE: line 25: async function asyncSimple() {}
|
---|
5 | | CONSOLE MESSAGE: line 24: function* genSimple() {}
|
---|
6 | | CONSOLE MESSAGE: line 25: function* genSimple() {}
|
---|
7 | | CONSOLE MESSAGE: line 24: function(){}
|
---|
8 | | CONSOLE MESSAGE: line 25: function(){}
|
---|
9 | | CONSOLE MESSAGE: line 24: function(x, y){}
|
---|
10 | | CONSOLE MESSAGE: line 25: function(x, y){}
|
---|
11 | | CONSOLE MESSAGE: line 24: function namedArgs(x) {}
|
---|
12 | | CONSOLE MESSAGE: line 25: function namedArgs(x) {}
|
---|
13 | | CONSOLE MESSAGE: line 24: function namedArgs2(x, y) {}
|
---|
14 | | CONSOLE MESSAGE: line 25: function namedArgs2(x, y) {}
|
---|
15 | | CONSOLE MESSAGE: line 24: function ({}) {}
|
---|
16 | | CONSOLE MESSAGE: line 25: function ({}) {}
|
---|
17 | | CONSOLE MESSAGE: line 24: function * whitespace ( x ) { }
|
---|
18 | | CONSOLE MESSAGE: line 25: function * whitespace ( x ) { }
|
---|
19 | | CONSOLE MESSAGE: line 24: async function whitespace2 ( x , y , z ) { }
|
---|
20 | | CONSOLE MESSAGE: line 25: async function whitespace2 ( x , y , z ) { }
|
---|
21 | | CONSOLE MESSAGE: line 28: [object Object]
|
---|
22 | | CONSOLE MESSAGE: line 29: [object Object]
|
---|
23 | 1 | Tests that console logging different types of functions correctly.
|
---|
24 | 2 |
|
---|
25 | | console-functions.html:24 ƒ simple() {}
|
---|
26 | | console-functions.html:25 ƒ simple()
|
---|
| 3 | console-functions.js:27 ƒ simple() {}
|
---|
| 4 | console-functions.js:28 ƒ simple()
|
---|
27 | 5 | arguments: null
|
---|
28 | 6 | caller: null
|
---|
29 | 7 | length: 0
|
---|
30 | 8 | name: "simple"
|
---|
31 | 9 | prototype: {constructor: ƒ}
|
---|
32 | 10 | __proto__: ƒ ()
|
---|
33 | | [[FunctionLocation]]: console-functions.html:10
|
---|
| 11 | [[FunctionLocation]]: console-functions.js:13
|
---|
34 | 12 | [[Scopes]]: Scopes[1]
|
---|
35 | | console-functions.html:24 async ƒ asyncSimple() {}
|
---|
36 | | console-functions.html:25 async ƒ asyncSimple()
|
---|
| 13 | console-functions.js:27 async ƒ asyncSimple() {}
|
---|
| 14 | console-functions.js:28 async ƒ asyncSimple()
|
---|
37 | 15 | arguments: (...)
|
---|
38 | 16 | caller: (...)
|
---|
39 | 17 | length: 0
|
---|
40 | 18 | name: "asyncSimple"
|
---|
41 | 19 | __proto__: AsyncFunction
|
---|
42 | | [[FunctionLocation]]: console-functions.html:11
|
---|
| 20 | [[FunctionLocation]]: console-functions.js:14
|
---|
43 | 21 | [[Scopes]]: Scopes[1]
|
---|
44 | | console-functions.html:24 ƒ* genSimple() {}
|
---|
45 | | console-functions.html:25 ƒ* genSimple()
|
---|
| 22 | console-functions.js:27 ƒ* genSimple() {}
|
---|
| 23 | console-functions.js:28 ƒ* genSimple()
|
---|
46 | 24 | arguments: (...)
|
---|
47 | 25 | caller: (...)
|
---|
48 | 26 | length: 0
|
---|
49 | 27 | name: "genSimple"
|
---|
50 | | prototype: Generator {}
|
---|
| 28 | prototype: Generator {}
|
---|
51 | 29 | __proto__: GeneratorFunction
|
---|
52 | | [[FunctionLocation]]: console-functions.html:12
|
---|
| 30 | [[FunctionLocation]]: console-functions.js:15
|
---|
53 | 31 | [[IsGenerator]]: true
|
---|
54 | 32 | [[Scopes]]: Scopes[1]
|
---|
55 | | console-functions.html:24 ƒ (){}
|
---|
56 | | console-functions.html:25 ƒ anonymous()
|
---|
| 33 | console-functions.js:27 ƒ (){}
|
---|
| 34 | console-functions.js:28 ƒ anonymous()
|
---|
57 | 35 | arguments: null
|
---|
58 | 36 | caller: null
|
---|
59 | 37 | length: 0
|
---|
60 | 38 | name: ""
|
---|
61 | 39 | prototype: {constructor: ƒ}
|
---|
62 | 40 | __proto__: ƒ ()
|
---|
63 | | [[FunctionLocation]]: console-functions.html:13
|
---|
| 41 | [[FunctionLocation]]: console-functions.js:16
|
---|
64 | 42 | [[Scopes]]: Scopes[1]
|
---|
65 | | console-functions.html:24 ƒ (x, y){}
|
---|
66 | | console-functions.html:25 ƒ anonymous(x, y)
|
---|
| 43 | console-functions.js:27 ƒ (x, y){}
|
---|
| 44 | console-functions.js:28 ƒ anonymous(x, y)
|
---|
67 | 45 | arguments: null
|
---|
68 | 46 | caller: null
|
---|
69 | 47 | length: 2
|
---|
70 | 48 | name: ""
|
---|
71 | 49 | prototype: {constructor: ƒ}
|
---|
72 | 50 | __proto__: ƒ ()
|
---|
73 | | [[FunctionLocation]]: console-functions.html:14
|
---|
| 51 | [[FunctionLocation]]: console-functions.js:17
|
---|
74 | 52 | [[Scopes]]: Scopes[1]
|
---|
75 | | console-functions.html:24 ƒ namedArgs(x) {}
|
---|
76 | | console-functions.html:25 ƒ namedArgs(x)
|
---|
| 53 | console-functions.js:27 ƒ namedArgs(x) {}
|
---|
| 54 | console-functions.js:28 ƒ namedArgs(x)
|
---|
77 | 55 | arguments: null
|
---|
78 | 56 | caller: null
|
---|
79 | 57 | length: 1
|
---|
80 | 58 | name: "namedArgs"
|
---|
81 | 59 | prototype: {constructor: ƒ}
|
---|
82 | 60 | __proto__: ƒ ()
|
---|
83 | | [[FunctionLocation]]: console-functions.html:15
|
---|
| 61 | [[FunctionLocation]]: console-functions.js:18
|
---|
84 | 62 | [[Scopes]]: Scopes[1]
|
---|
85 | | console-functions.html:24 ƒ namedArgs2(x, y) {}
|
---|
86 | | console-functions.html:25 ƒ namedArgs2(x, y)
|
---|
| 63 | console-functions.js:27 ƒ namedArgs2(x, y) {}
|
---|
| 64 | console-functions.js:28 ƒ namedArgs2(x, y)
|
---|
87 | 65 | arguments: null
|
---|
88 | 66 | caller: null
|
---|
89 | 67 | length: 2
|
---|
90 | 68 | name: "namedArgs2"
|
---|
91 | 69 | prototype: {constructor: ƒ}
|
---|
92 | 70 | __proto__: ƒ ()
|
---|
93 | | [[FunctionLocation]]: console-functions.html:16
|
---|
| 71 | [[FunctionLocation]]: console-functions.js:19
|
---|
94 | 72 | [[Scopes]]: Scopes[1]
|
---|
95 | | console-functions.html:24 ƒ ({}) {}
|
---|
96 | | console-functions.html:25 ƒ anonymous({})
|
---|
| 73 | console-functions.js:27 ƒ ({}) {}
|
---|
| 74 | console-functions.js:28 ƒ anonymous({})
|
---|
97 | 75 | arguments: null
|
---|
98 | 76 | caller: null
|
---|
99 | 77 | length: 1
|
---|
100 | 78 | name: ""
|
---|
101 | 79 | prototype: {constructor: ƒ}
|
---|
102 | 80 | __proto__: ƒ ()
|
---|
103 | | [[FunctionLocation]]: console-functions.html:17
|
---|
| 81 | [[FunctionLocation]]: console-functions.js:20
|
---|
104 | 82 | [[Scopes]]: Scopes[1]
|
---|
105 | | console-functions.html:24 ƒ * whitespace ( x ) { }
|
---|
106 | | console-functions.html:25 ƒ * whitespace( x )
|
---|
| 83 | console-functions.js:27 ƒ* whitespace( x ) { }
|
---|
| 84 | console-functions.js:28 ƒ* whitespace( x )
|
---|
107 | 85 | arguments: (...)
|
---|
108 | 86 | caller: (...)
|
---|
109 | 87 | length: 1
|
---|
110 | 88 | name: "whitespace"
|
---|
111 | | prototype: Generator {}
|
---|
| 89 | prototype: Generator {}
|
---|
112 | 90 | __proto__: GeneratorFunction
|
---|
113 | | [[FunctionLocation]]: console-functions.html:18
|
---|
| 91 | [[FunctionLocation]]: console-functions.js:21
|
---|
114 | 92 | [[IsGenerator]]: true
|
---|
115 | 93 | [[Scopes]]: Scopes[1]
|
---|
116 | | console-functions.html:24 async ƒ whitespace2 ( x , y , z ) { }
|
---|
117 | | console-functions.html:25 async ƒ whitespace2( x , y , z )
|
---|
| 94 | console-functions.js:27 async ƒ whitespace2( x , y , z ) { }
|
---|
| 95 | console-functions.js:28 async ƒ whitespace2( x , y , z )
|
---|
118 | 96 | arguments: (...)
|
---|
119 | 97 | caller: (...)
|
---|
120 | 98 | length: 3
|
---|
121 | 99 | name: "whitespace2"
|
---|
122 | 100 | __proto__: AsyncFunction
|
---|
123 | | [[FunctionLocation]]: console-functions.html:19
|
---|
| 101 | [[FunctionLocation]]: console-functions.js:22
|
---|
124 | 102 | [[Scopes]]: Scopes[1]
|
---|
125 | | console-functions.html:28 Object
|
---|
| 103 | console-functions.js:31 {func0: ƒ, func1: ƒ, func2: ƒ, func3: ƒ, func4: ƒ, …}
|
---|
126 | 104 | func0: ƒ simple()
|
---|
127 | 105 | func1: async ƒ asyncSimple()
|
---|
128 | 106 | func2: ƒ* genSimple()
|
---|
|
131 | 109 | func5: ƒ namedArgs(x)
|
---|
132 | 110 | func6: ƒ namedArgs2(x, y)
|
---|
133 | 111 | func7: ƒ ({})
|
---|
134 | | func8: ƒ * whitespace( x )
|
---|
| 112 | func8: ƒ* whitespace( x )
|
---|
135 | 113 | func9: async ƒ whitespace2( x , y , z )
|
---|
136 | 114 | __proto__: Object
|
---|
137 | | console-functions.html:29 Object
|
---|
| 115 | console-functions.js:32 Object
|
---|
138 | 116 | func0: ƒ simple()
|
---|
139 | 117 | func1: async ƒ asyncSimple()
|
---|
140 | 118 | func2: ƒ* genSimple()
|
---|
|
143 | 121 | func5: ƒ namedArgs(x)
|
---|
144 | 122 | func6: ƒ namedArgs2(x, y)
|
---|
145 | 123 | func7: ƒ ({})
|
---|
146 | | func8: ƒ * whitespace( x )
|
---|
| 124 | func8: ƒ* whitespace( x )
|
---|
147 | 125 | func9: async ƒ whitespace2( x , y , z )
|
---|
148 | 126 | __proto__: Object
|
---|
149 | 127 |
|
---|