10 lines
No EOL
213 B
TypeScript
10 lines
No EOL
213 B
TypeScript
// @target: es6
|
|
var id;
|
|
class C {
|
|
[0 + 1]() { }
|
|
static [() => { }]() { }
|
|
get [delete id]() { }
|
|
set [[0, 1]](v) { }
|
|
static get [<String>""]() { }
|
|
static set [id.toString()](v) { }
|
|
} |