← 문제 목록
초급
JavaScript
30P
구조 분해 할당
다음 코드의 출력 결과는?
JAVASCRIPT
const [a, b, ...rest] = [1, 2, 3, 4, 5];
console.log(rest);
1명 풀이 · 정답률 100%