Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

for loop display array

let array = [1, 2, 3];
for (let item in array) {
    console.log(item);
}
 
PREVIOUS NEXT
Tagged: #loop #display #array
ADD COMMENT
Topic
Name
5+3 =