| 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){} |
| 11 CONSOLE MESSAGE: line 24: function namedArgs(x) {} | 11 CONSOLE MESSAGE: line 24: function namedArgs(x) {} |
| 12 CONSOLE MESSAGE: line 25: function namedArgs(x) {} | 12 CONSOLE MESSAGE: line 25: function namedArgs(x) {} |
| 13 CONSOLE MESSAGE: line 24: function namedArgs2(x, y) {} | 13 CONSOLE MESSAGE: line 24: function namedArgs2(x, y) {} |
| 14 CONSOLE MESSAGE: line 25: function namedArgs2(x, y) {} | 14 CONSOLE MESSAGE: line 25: function namedArgs2(x, y) {} |
| 15 CONSOLE MESSAGE: line 24: function ({}) {} | 15 CONSOLE MESSAGE: line 24: function ({}) {} |
| 16 CONSOLE MESSAGE: line 25: function ({}) {} | 16 CONSOLE MESSAGE: line 25: function ({}) {} |
| 17 CONSOLE MESSAGE: line 24: function* whitespace( x ) { } | 17 CONSOLE MESSAGE: line 24: function* whitespace( x ) { } |
| 18 CONSOLE MESSAGE: line 25: function* whitespace( x ) { } | 18 CONSOLE MESSAGE: line 25: function* whitespace( x ) { } |
| 19 CONSOLE MESSAGE: line 24: async function whitespace2( x , y , z ) { } | 19 CONSOLE MESSAGE: line 24: async function whitespace2( x , y , z ) { } |
| 20 CONSOLE MESSAGE: line 25: async function whitespace2( x , y , z ) { } | 20 CONSOLE MESSAGE: line 25: async function whitespace2( x , y , z ) { } |
| 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 ƒ simple() {} |
| 26 console-functions.html:25 function simple() | 26 console-functions.html:25 ƒ 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 |
| 32 __proto__: function () | 32 __proto__: ƒ () |
| 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 ƒ asyncSimple() {} |
| 36 console-functions.html:25 async function asyncSimple() | 36 console-functions.html:25 async ƒ 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 ƒ* genSimple() {} |
| 45 console-functions.html:25 function* genSimple() | 45 console-functions.html:25 ƒ* 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 ƒ (){} |
| 56 console-functions.html:25 function anonymous() | 56 console-functions.html:25 ƒ 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 |
| 62 __proto__: function () | 62 __proto__: ƒ () |
| 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 ƒ (x, y){} |
| 66 console-functions.html:25 function anonymous(x, y) | 66 console-functions.html:25 ƒ 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 |
| 72 __proto__: function () | 72 __proto__: ƒ () |
| 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 ƒ namedArgs(x) {} |
| 76 console-functions.html:25 function namedArgs(x) | 76 console-functions.html:25 ƒ 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 |
| 82 __proto__: function () | 82 __proto__: ƒ () |
| 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 ƒ namedArgs2(x, y) {} |
| 86 console-functions.html:25 function namedArgs2(x, y) | 86 console-functions.html:25 ƒ 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 |
| 92 __proto__: function () | 92 __proto__: ƒ () |
| 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 ƒ ({}) {} |
| 96 console-functions.html:25 function anonymous({}) | 96 console-functions.html:25 ƒ 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 |
| 102 __proto__: function () | 102 __proto__: ƒ () |
| 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 ƒ* whitespace( x ) { } |
| 106 console-functions.html:25 function* whitespace( x ) | 106 console-functions.html:25 ƒ* 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 ƒ whitespace2( x , y , z ) { } |
| 117 console-functions.html:25 async function whitespace2( x , y , z ) | 117 console-functions.html:25 async ƒ whitespace2( x , y , z ) |
| 118 arguments: (...) | 118 arguments: (...) |
| 119 caller: (...) | 119 caller: (...) |
| 120 length: 3 | 120 length: 3 |
| 121 name: "whitespace2" | 121 name: "whitespace2" |
| 122 __proto__: AsyncFunction | 122 __proto__: AsyncFunction |
| 123 [[FunctionLocation]]: console-functions.html:19 | 123 [[FunctionLocation]]: console-functions.html:19 |
| 124 [[Scopes]]: Scopes[1] | 124 [[Scopes]]: Scopes[1] |
| 125 console-functions.html:28 Object | 125 console-functions.html:28 Object |
| 126 func0: function simple() | 126 func0: ƒ simple() |
| 127 func1: async function asyncSimple() | 127 func1: async ƒ asyncSimple() |
| 128 func2: function* genSimple() | 128 func2: ƒ* genSimple() |
| 129 func3: function () | 129 func3: ƒ () |
| 130 func4: function (x, y) | 130 func4: ƒ (x, y) |
| 131 func5: function namedArgs(x) | 131 func5: ƒ namedArgs(x) |
| 132 func6: function namedArgs2(x, y) | 132 func6: ƒ namedArgs2(x, y) |
| 133 func7: function ({}) | 133 func7: ƒ ({}) |
| 134 func8: function* whitespace( x ) | 134 func8: ƒ* whitespace( x ) |
| 135 func9: async function whitespace2( x , y , z ) | 135 func9: async ƒ whitespace2( x , y , z ) |
| 136 __proto__: Object | 136 __proto__: Object |
| 137 console-functions.html:29 Object | 137 console-functions.html:29 Object |
| 138 func0: function simple() | 138 func0: ƒ simple() |
| 139 func1: async function asyncSimple() | 139 func1: async ƒ asyncSimple() |
| 140 func2: function* genSimple() | 140 func2: ƒ* genSimple() |
| 141 func3: function () | 141 func3: ƒ () |
| 142 func4: function (x, y) | 142 func4: ƒ (x, y) |
| 143 func5: function namedArgs(x) | 143 func5: ƒ namedArgs(x) |
| 144 func6: function namedArgs2(x, y) | 144 func6: ƒ namedArgs2(x, y) |
| 145 func7: function ({}) | 145 func7: ƒ ({}) |
| 146 func8: function* whitespace( x ) | 146 func8: ƒ* whitespace( x ) |
| 147 func9: async function whitespace2( x , y , z ) | 147 func9: async ƒ whitespace2( x , y , z ) |
| 148 __proto__: Object | 148 __proto__: Object |
| 149 | 149 |
| OLD | NEW |