var a = {}; var b = []; var i =0; while(i<10){ b[i] = a[i] = i++; } console.log('a '+typeof a +' b '+ typeof b); //a object b object 注: ...
確定! 回上一頁