12 lines
217 B
JavaScript
12 lines
217 B
JavaScript
//// [parserParameterList10.ts]
|
|
class C {
|
|
foo(...bar = 0) { }
|
|
}
|
|
|
|
//// [parserParameterList10.js]
|
|
var C = (function () {
|
|
function C() {
|
|
}
|
|
C.prototype.foo = function () { };
|
|
return C;
|
|
})();
|