array (1) 썸네일형 리스트형 [Javascript] 리스트 Deep Copy Before for (const el of list) { copyList.push(el); } After const copyList = [...list]; 이전 1 다음