14 lines
205 B
JavaScript
14 lines
205 B
JavaScript
|
//// [computedPropertyNames18.ts]
|
||
|
function foo() {
|
||
|
var obj = {
|
||
|
[this.bar]: 0
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//// [computedPropertyNames18.js]
|
||
|
function foo() {
|
||
|
var obj = {
|
||
|
[this.bar]: 0
|
||
|
};
|
||
|
}
|