TypeScript/tests/cases/conformance/async/es5/functionDeclarations/asyncFunctionDeclarationCapturesArguments_es5.ts

12 lines
220 B
TypeScript

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