第三行的動作並不是清空陣列,而在第一行產生的陣列物件,他的參考仍然保存在b變數中。 如果我把程式第三行改成: <pre class="c" name="code"> a.length ...
確定! 回上一頁