Written by
java-style
on
on
[JS] splice(), slice(), substring()
[JS] splice(), slice(), substring()
Array.prototype.slice() - JavaScript | MDN
The slice() method returns a shallow copy of a portion of an array into a new array object selected from start to end (end not included) where start and end represent the index of items in that array. The original array will not be modified.
developer.mozilla.org
from http://bomiismybestie.tistory.com/53 by ccl(A) rewrite - 2021-12-11 06:02:28