13 lines
213 B
TypeScript
13 lines
213 B
TypeScript
//// [computedPropertyNames18_ES6.ts]
|
|
function foo() {
|
|
var obj = {
|
|
[this.bar]: 0
|
|
}
|
|
}
|
|
|
|
//// [computedPropertyNames18_ES6.js]
|
|
function foo() {
|
|
var obj = {
|
|
[this.bar]: 0
|
|
};
|
|
}
|