function getAllParamsByRestParameter(...args) { return args; } function getAllParamsByArgumentsObj() { return arguments; // 기록해두기 } const restParams = getAllParamsByRestParameter('first', 'second', 'third'); const argumentsObj = getAllParamsByArgumentsObj('first', 'second', 'third'); 위의 코드에서 restParams는 array를 리턴하고, argumentsObj는 object를 리턴한다. 구글 개발자 모드로 둘을 확인해보았더니 어딘가 다르다는 것을 알 수 있었다. arguments..