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

13 lines
206 B
JavaScript

//// [parserParameterList2.ts]
class C {
F(A?= 0) { }
}
//// [parserParameterList2.js]
var C = (function () {
function C() {
}
C.prototype.F = function (A) { };
return C;
})();