Home JS Other Detail
By i
for(let i = 0; i < array.length; i++)
By item
for (let arrayItem in array)
By index
for (let index in array)