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

13 lines
217 B
JavaScript

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