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 www.dicoding.com #
 
PREVIOUS NEXT
Tagged: #For #Of #Loop #In #JavaScript
ADD COMMENT
Topic
Name
8+9 =