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

25 lines
565 B
TypeScript

//// [tests/cases/conformance/es6/computedProperties/computedPropertyNames3_ES6.ts] ////
//// [computedPropertyNames3_ES6.ts]
var id;
class C {
[0 + 1]() { }
static [() => { }]() { }
get [delete id]() { }
set [[0, 1]](v) { }
static get [<String>""]() { }
static set [id.toString()](v) { }
}
//// [computedPropertyNames3_ES6.js]
"use strict";
var id;
class C {
[0 + 1]() { }
static [() => { }]() { }
get [delete id]() { }
set [[0, 1]](v) { }
static get [""]() { }
static set [id.toString()](v) { }
}