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