There is another, less popular approach to empty an array: arr.splice(0, arr.length);. This method affects other references. Since . · If the array is declared ...
確定! 回上一頁