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

14 lines
236 B
JavaScript

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