TypeScript/tests/baselines/reference/quotedFunctionName1.js
2015-02-06 18:45:09 -08:00

13 lines
231 B
JavaScript

//// [quotedFunctionName1.ts]
class Test1 {
"prop1"() { }
}
//// [quotedFunctionName1.js]
var Test1 = (function () {
function Test1() {
}
Test1.prototype["prop1"] = function () { };
return Test1;
})();