swc/crates/swc_ecma_parser/tests/tsc/asyncFunctionDeclarationCapturesArguments_es5.ts

12 lines
209 B
TypeScript

// @target: ES5
// @lib: es5,es2015.promise
// @noEmitHelpers: true
class C {
method() {
function other() {}
async function fn () {
await other.apply(this, arguments);
}
}
}