how to loop through array of numbers in javascript

JavaScript
let numbers = [1,2,3,4,5];
let numbersLength = numbers.length;
for ( let i = 0; i < numbersLength; i++) {
    console.log (numbers[i]);
}
Source

Also in JavaScript: