📜  切片示例 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:07.993000             🧑  作者: Mango

代码示例5
JavaScript Array slice() Method The slice() method returns the selected elements in an array, as a new array object. The slice() method selects the elements starting at the given start argument, and ends at, but does not include, the given end argument. Note: The original array will not be changed.