Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript array loop

const friends = [
   `Dale`,
   `Matt`,
   `Morne`,
   `Michael`,
];

for (let i = 0; i < friends.length; i++) {
   console.log(friends[i]);
}
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #javascript #array #loop
ADD COMMENT
Topic
Name
7+1 =