TypeScript/tests/baselines/reference/quotedPropertyName1.js
2015-12-08 17:51:10 -08:00

13 lines
209 B
TypeScript

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