Opposite of Push(); (splice explanation)
This question already has an answer here:
var hey = arrayName.splice(1,1);
编辑:如果您希望获得特定值的索引,则可以使用:
arrayName.indexOf("hey");
链接地址: http://www.djcxy.com/p/19026.html
上一篇: 比赛结束后从阵列中移除物品
下一篇: Push()的对面; (拼接解释)