blob: 8aaa14602daa2307563c7930e0e30a8adb3a3222 [file] [log] [blame]
Tests how debugger presents special properties of closures, bound functions and object wrappers.
properties-special.js:11 Boolean
__proto__: Boolean
[[PrimitiveValue]]: true
properties-special.js:12 ƒ anonymous(a,b)
arguments: null
caller: null
length: 2
name: ""
prototype: {constructor: ƒ}
__proto__: ƒ ()
[[FunctionLocation]]: properties-special.js:12
[[Scopes]]: Scopes[1]
properties-special.js:13 ƒ bound ()
arguments: (...)
caller: (...)
length: 1
name: "bound "
__proto__: ƒ ()
[[TargetFunction]]: ƒ (a,b)
[[BoundThis]]: Object
[[BoundArgs]]: Array(1)
properties-special.js:14 ƒ* anonymous()
arguments: (...)
caller: (...)
length: 0
name: ""
prototype: Generator {}
__proto__: GeneratorFunction
[[FunctionLocation]]: properties-special.js:14
[[IsGenerator]]: true
[[Scopes]]: Scopes[1]