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

15 lines
235 B
JavaScript

//// [parserParameterList16.ts]
class C {
foo(a = 4);
foo(a, b) { }
}
//// [parserParameterList16.js]
var C = (function () {
function C() {
}
C.prototype.foo = function (a, b) {
};
return C;
})();