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

20 lines
503 B
TypeScript

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