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

14 lines
233 B
JavaScript

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