Code

General Code

Array Iteration

We can use a for loop to iterate through an array, but JavaScript arrays have built in methods we can also use… This will iterate over each item in the array and output it to the console. Remember that arrays are zero-based. There are times when we wish to access the index number of an

Array Iteration Read More »