47 lines
625 B
Plaintext
47 lines
625 B
Plaintext
=== /a.js ===
|
|
const bar = {
|
|
>bar : { arguments: {}; }
|
|
>{ arguments: {}} : { arguments: {}; }
|
|
|
|
arguments: {}
|
|
>arguments : {}
|
|
>{} : {}
|
|
}
|
|
|
|
class A {
|
|
>A : A
|
|
|
|
/**
|
|
* Constructor
|
|
*
|
|
* @param {object} [foo={}]
|
|
*/
|
|
constructor(foo = {}) {
|
|
>foo : any
|
|
>{} : {}
|
|
|
|
/**
|
|
* @type object
|
|
*/
|
|
this.foo = foo;
|
|
>this.foo = foo : any
|
|
>this.foo : any
|
|
>this : this
|
|
>foo : any
|
|
>foo : any
|
|
|
|
/**
|
|
* @type object
|
|
*/
|
|
this.bar = bar.arguments;
|
|
>this.bar = bar.arguments : {}
|
|
>this.bar : any
|
|
>this : this
|
|
>bar : any
|
|
>bar.arguments : {}
|
|
>bar : { arguments: {}; }
|
|
>arguments : {}
|
|
}
|
|
}
|
|
|