Javascript For Loop with If statement and Array
I want the array to start printing from the second element of the Array [2...].. but there is something I couldn't understand. I wrote an if statement to achieve that, as shown below. However, it doesn't return the wanted result.…