Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js looping through array

let Hello = ['Hi', 'Hello', 'Hey'];

for(let i = 0; i < Hello.length; i++) {
    console.log(Hello[i]); // -> Hi Hello Hey
}
Source by hackernoon.com #
 
PREVIOUS NEXT
Tagged: #js #looping #array
ADD COMMENT
Topic
Name
5+5 =