阵列单元更快的方式,使我有这样一个数组:打印比做一个for循环
var arra= new String [50,50];
// I add in arrays and for every added row, update count by 1. The columns are till incount which is less than 50.
for(i=0;i<=count;i++)
{
for(j=0;j<incount;j++)
{
print (bigsub[i,j]);
}
}
是否有快速的方法可以让我做到这一点?我可以为内部阵列做这个吗?
要打印在JavaScript的数组,你可以使用这个'警报(arrayObj.join( '\ n'));' – Vimalnath