//// [computedPropertyNames20_ES6.ts] var obj = { [this.bar]: 0 } //// [computedPropertyNames20_ES6.js] var obj = { [this.bar]: 0 };