KLA few other options that start to move from directly iterating to manipulation of the data. let arr = [ 100 , 200 , 300 , 400 , 500 ]; arr.map((v) = > {console.log(v)}); arr.filter((v) = > {console.log(v)}) arr.reduce((a,v) = > {console.log(v)},{})Comment·Article·May 6, 2022·different ways to iterate over an array JavaScript