📌  相关文章
📜  如何使数组为空 - Javascript 代码示例

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

代码示例5
var arr1 = ['a','b','c','d','e','f'];
var arr2 = arr1;  // Reference arr1 by another variable 
arr1 = [];
console.log(arr2); // Output ['a','b','c','d','e','f']