윤성연
Results
2
comments of
윤성연
``` function max(...rest) { return rest.reduce((acc, cur) => (acc < cur ? cur : acc)); } const result = max(1, 2, 3, 4, 10, 5, 6, 7); console.log(result); ```
``` // sol 1 const countBiggerThanTen = (numbers) => { const largerThen10 = numbers.filter((nums) => nums > 10); return largerThen10.length; }; const count = countBiggerThanTen([1, 2, 3, 5, 10, 20,...