📌  相关文章
📜  删除一个元素到一个数组 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:01.757000             🧑  作者: Mango

代码示例3
var colors = ["red", "orange", "yellow", "green"];
colors = colors.splice(3, 1); // Starts removing from the third element, and deletes 1 element
// Array.splice(startingElement, elementYouWantToRemove);