traverse a list in javascript code example Example: for i # For loops in Dip for i = 0 to 5 then print(i)