for

Available in ES 2009.


let array = ['A', 'B', 'C'];  

for (let i = 0; i < array.length; i++) {
    console.log(array[i]);
}




© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited TopPrevNext