| 1 | | CONSOLE MESSAGE: line 16: true
|
|---|
| 2 | | CONSOLE MESSAGE: line 17: function (a,b) { return a + b; }
|
|---|
| 3 | | CONSOLE MESSAGE: line 18: function () { [native code] }
|
|---|
| 4 | | CONSOLE MESSAGE: line 19: function* () { yield [1,2,3] }
|
|---|
| 5 | 1 | Tests how debugger presents special properties of closures, bound functions and object wrappers.
|
|---|
| 6 | |
|
|---|
| 7 | | properties-special.html:16 Boolean
|
|---|
| 2 | properties-special.js:11 Boolean
|
|---|
| 8 | 3 | __proto__: Boolean
|
|---|
| 9 | 4 | [[PrimitiveValue]]: true
|
|---|
| 10 | | properties-special.html:17 ƒ anonymous(a,b)
|
|---|
| 5 | properties-special.js:12 ƒ anonymous(a,b)
|
|---|
| 11 | 6 | arguments: null
|
|---|
| 12 | 7 | caller: null
|
|---|
| 13 | 8 | length: 2
|
|---|
| 14 | 9 | name: ""
|
|---|
| 15 | 10 | prototype: {constructor: ƒ}
|
|---|
| 16 | 11 | __proto__: ƒ ()
|
|---|
| 17 | | [[FunctionLocation]]: properties-special.html:17
|
|---|
| 12 | [[FunctionLocation]]: properties-special.js:12
|
|---|
| 18 | 13 | [[Scopes]]: Scopes[1]
|
|---|
| 19 | | properties-special.html:18 ƒ bound ()
|
|---|
| 14 | properties-special.js:13 ƒ bound ()
|
|---|
| 20 | 15 | arguments: (...)
|
|---|
| 21 | 16 | caller: (...)
|
|---|
| 22 | 17 | length: 1
|
|---|
|
|
| 25 | 20 | [[TargetFunction]]: ƒ (a,b)
|
|---|
| 26 | 21 | [[BoundThis]]: Object
|
|---|
| 27 | 22 | [[BoundArgs]]: Array(1)
|
|---|
| 28 | | properties-special.html:19 ƒ* anonymous()
|
|---|
| 23 | properties-special.js:14 ƒ* anonymous()
|
|---|
| 29 | 24 | arguments: (...)
|
|---|
| 30 | 25 | caller: (...)
|
|---|
| 31 | 26 | length: 0
|
|---|
| 32 | 27 | name: ""
|
|---|
| 33 | 28 | prototype: Generator {}
|
|---|
| 34 | 29 | __proto__: GeneratorFunction
|
|---|
| 35 | | [[FunctionLocation]]: properties-special.html:19
|
|---|
| 30 | [[FunctionLocation]]: properties-special.js:14
|
|---|
| 36 | 31 | [[IsGenerator]]: true
|
|---|
| 37 | 32 | [[Scopes]]: Scopes[1]
|
|---|
| 38 | 33 |
|
|---|