passing array to function in javascript example by | Sep 25, 2020 | Uncategorized | 0 comments It is not appropriate to use an object here, because it provides no methods to manage the order of elements. for (num=0;num