17 lines
355 B
TypeScript
17 lines
355 B
TypeScript
//// [parserParameterList10.ts]
|
|
class C {
|
|
foo(...bar = 0) { }
|
|
}
|
|
|
|
//// [parserParameterList10.js]
|
|
var C = (function () {
|
|
function C() {
|
|
}
|
|
C.prototype.foo = function () {
|
|
var bar = [];
|
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
bar[_i - 0] = arguments[_i];
|
|
}
|
|
};
|
|
return C;
|
|
})();
|