TypeScript/tests/baselines/reference/parserParameterList2.js

15 lines
249 B
TypeScript

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