1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
//// [tests/cases/conformance/async/es5/asyncArrowFunction/asyncArrowFunctionCapturesThis_es5.ts] ////
=== asyncArrowFunctionCapturesThis_es5.ts ===
class C {
>C : Symbol(C, Decl(asyncArrowFunctionCapturesThis_es5.ts, 0, 0))
method() {
>method : Symbol(C.method, Decl(asyncArrowFunctionCapturesThis_es5.ts, 0, 9))
var fn = async () => await this;
>fn : Symbol(fn, Decl(asyncArrowFunctionCapturesThis_es5.ts, 2, 9))
>this : Symbol(C, Decl(asyncArrowFunctionCapturesThis_es5.ts, 0, 0))
}
}
|