mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
503 B
TypeScript
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);
|
|
}
|
|
}
|