可能重复:
how to empty an array in JavaScript
如何从jQuery数组中删除所有项?
我有数组var myArray = [];,我想在每次回帖时清除数组中的所有项。
var myArray = [];
https://stackoverflow.com/questions/11543602
相似问题