Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript Iterate Through Iterables

const number = [ 1, 2, 3];

for (let n of  number[Symbol.iterator]()) {
    console.log(n);
}
 
PREVIOUS NEXT
Tagged: #javascript #Iterate #Through #Iterables
ADD COMMENT
Topic
Name
8+6 =