📜  javascript代码示例中的切片

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

代码示例6
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.