TypeScript/tests/baselines/reference/quotedPropertyName1.js
2014-07-12 17:30:19 -07:00

13 lines
209 B
TypeScript

//// [quotedPropertyName1.ts]
class Test1 {
"prop1" = 0;
}
//// [quotedPropertyName1.js]
var Test1 = (function () {
function Test1() {
this["prop1"] = 0;
}
return Test1;
})();