copyWithin1 Array.prototype.copyWithin() https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Array/copyWithin Array.prototype.copyWithin() - JavaScript | MDN copyWithin() 메서드는 배열의 일부를 얕게 복사한 뒤, 동일한 배열의 다른 위치에 덮어쓰고 그 배열을 반환합니다. 이 때, 크기(배열의 길이)를 수정하지 않고 반환합니다. developer.mozilla.org https://www.w3schools.com/jsref/jsref_copywithin.asp JavaScript Array copyWithin() Method W3Schools offers free online tutorials, re.. 2021. 11. 15. 이전 1 다음