Files
tsgo/testdata/baselines/reference/submodule/compiler/argumentsReferenceInMethod2_Js.symbols

24 lines
469 B
Plaintext

//// [tests/cases/compiler/argumentsReferenceInMethod2_Js.ts] ////
=== /a.js ===
class A {
>A : Symbol(A, Decl(a.js, 0, 0))
/**
* @param {object} [foo={}]
*/
m(foo = {}) {
>m : Symbol(A.m, Decl(a.js, 0, 9))
>foo : Symbol(foo, Decl(a.js, 4, 3))
/**
* @type object
*/
this["arguments"] = foo;
>this : Symbol(A, Decl(a.js, 0, 0))
>"arguments" : Symbol(A["arguments"], Decl(a.js, 4, 14))
>foo : Symbol(foo, Decl(a.js, 4, 3))
}
}