//// [computedPropertyNames12_ES6.ts] var s: string; var n: number; var a: any; class C { [s]: number; [n] = n; static [s + s]: string; [s + n] = 2; [+s]: typeof s; static [""]: number; [0]: number; [a]: number; static [true]: number; [`hello bye`] = 0; static [`hello ${a} bye`] = 0 } //// [computedPropertyNames12_ES6.js] var s; var n; var a; class C { constructor() { this[n] = n; this[s + n] = 2; this[`hello bye`] = 0; } } C[`hello ${a} bye`] = 0;