| OLD | NEW |
| (Empty) | |
| 1 CONSOLE MESSAGE: line 13: function simple() {} |
| 2 CONSOLE MESSAGE: line 14: function simple() {} |
| 3 CONSOLE MESSAGE: line 15: async function asyncSimple() {} |
| 4 CONSOLE MESSAGE: line 16: async function asyncSimple() {} |
| 5 CONSOLE MESSAGE: line 17: function* genSimple() {} |
| 6 CONSOLE MESSAGE: line 18: function* genSimple() {} |
| 7 CONSOLE MESSAGE: line 21: [object Object] |
| 8 CONSOLE MESSAGE: line 22: [object Object] |
| 9 Tests that console logging different types of functions correctly. |
| 10 |
| 11 console-functions.html:13 function simple() {} |
| 12 console-functions.html:14 function simple() |
| 13 arguments: null |
| 14 caller: null |
| 15 length: 0 |
| 16 name: "simple" |
| 17 prototype: Object |
| 18 __proto__: () |
| 19 [[FunctionLocation]]: console-functions.html:9 |
| 20 [[Scopes]]: Scopes[1] |
| 21 console-functions.html:15 async function asyncSimple() {} |
| 22 console-functions.html:16 async function asyncSimple() |
| 23 arguments: (...) |
| 24 caller: (...) |
| 25 length: 0 |
| 26 name: "asyncSimple" |
| 27 __proto__: AsyncFunction |
| 28 [[FunctionLocation]]: console-functions.html:10 |
| 29 [[Scopes]]: Scopes[1] |
| 30 console-functions.html:17 function* genSimple() {} |
| 31 console-functions.html:18 function* genSimple() |
| 32 arguments: (...) |
| 33 caller: (...) |
| 34 length: 0 |
| 35 name: "genSimple" |
| 36 prototype: Generator |
| 37 __proto__: GeneratorFunction |
| 38 [[FunctionLocation]]: console-functions.html:11 |
| 39 [[IsGenerator]]: true |
| 40 [[Scopes]]: Scopes[1] |
| 41 console-functions.html:21 Object |
| 42 func1: simple() |
| 43 func2: asyncSimple() |
| 44 func3: genSimple() |
| 45 __proto__: Object |
| 46 console-functions.html:22 Object |
| 47 func1: simple() |
| 48 func2: asyncSimple() |
| 49 func3: genSimple() |
| 50 __proto__: Object |
| 51 |
| OLD | NEW |