Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

For Of Loop In JavaScript

let items = ["a", "b", "c", "d"];
for(item of items)
{
console.log(item);
/*yields a b c d*/
}
Source by buzzcoder.gitbooks.io #
 
PREVIOUS NEXT
Tagged: #For #Of #Loop #In #JavaScript
ADD COMMENT
Topic
Name
4+9 =