In Javascript how to empty an array · Substituting with a new array −. arr = [];. This is the fastest way. This will set arr to a new array.
確定! 回上一頁