Files
tsgo/testdata/baselines/reference/submodule/conformance/asyncArrowFunctionCapturesThis_es2017.js

18 lines
384 B
TypeScript

//// [tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunctionCapturesThis_es2017.ts] ////
//// [asyncArrowFunctionCapturesThis_es2017.ts]
class C {
method() {
var fn = async () => await this;
}
}
//// [asyncArrowFunctionCapturesThis_es2017.js]
"use strict";
class C {
method() {
var fn = async () => await this;
}
}