Tag: spread


Rest parameter

기본 파라미터 초기값123456789function a(x, y) { x = x || 0; y = y || 0; return x + y;}console.log(a()); //0console.log(plus(1,2));...