function l(x, ...ys) { return x + ys.length; } console.log(l(1, 2, 3));