清除JavaScript 数组的所有元素Published on August 23, 2011a.splice(0, a.length); alert(a.toString());Keep reading / 查看全部