トップに戻る
tags
js で配列をクリアする時
myarray.length = 0; と myarray= [];
どちらが早い?
↓
// 配列 myarray を初期化する myarray.length = 0;
の方が高速です!
edit