12 lines
226 B
JavaScript
12 lines
226 B
JavaScript
//// [computedPropertyNames18_ES5.ts]
|
|
function foo() {
|
|
var obj = {
|
|
[this.bar]: 0
|
|
}
|
|
}
|
|
|
|
//// [computedPropertyNames18_ES5.js]
|
|
function foo() {
|
|
var obj = (_a = {}, _a[this.bar] = 0, _a);
|
|
var _a;
|
|
}
|