📜  清除或重置 JavaScript 数组 - Javascript 代码示例

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

代码示例2
var ar = [1, 2, 3, 4, 5, 6];
//do stuffar = [];
//a new, empty array!