mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
342 B
TypeScript
18 lines
342 B
TypeScript
//// [tests/cases/conformance/es6/computedProperties/computedPropertyNames19_ES6.ts] ////
|
|
|
|
//// [computedPropertyNames19_ES6.ts]
|
|
namespace M {
|
|
var obj = {
|
|
[this.bar]: 0
|
|
}
|
|
}
|
|
|
|
//// [computedPropertyNames19_ES6.js]
|
|
"use strict";
|
|
var M;
|
|
(function (M) {
|
|
var obj = {
|
|
[this.bar]: 0
|
|
};
|
|
})(M || (M = {}));
|