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