TypeScript/tests/baselines/reference/computedPropertyNames18.js
2015-01-19 16:37:10 -08:00

14 lines
205 B
JavaScript

//// [computedPropertyNames18.ts]
function foo() {
var obj = {
[this.bar]: 0
}
}
//// [computedPropertyNames18.js]
function foo() {
var obj = {
[this.bar]: 0
};
}