TypeScript/tests/baselines/reference/parserParameterList10.js

13 lines
217 B
JavaScript
Raw Normal View History

//// [parserParameterList10.ts]
class C {
foo(...bar = 0) { }
}
//// [parserParameterList10.js]
var C = (function () {
function C() {
}
C.prototype.foo = function () { };
return C;
})();