解密字帖ocr
xiaozi 2014-11-21 22:12:00
javascript 中,删除一个数组,应该使用`arr.length = 0`,而不是`delete a`
var arr = [1,2,3,4]; console.log(arr); arr.length = 0; console.log(arr);
Home - Wiki Copyright © 2011-2024 iteam. Current version is 2.138.0. UTC+08:00, 2024-12-22 12:09 浙ICP备14020137号-1 $Map of visitor$