Loops

From rbachwiki
Revision as of 13:54, 28 October 2016 by Bacchas (talk | contribs) (Created page with "==Foreach Loop== <pre> var letters=["a", "b", "c"]; letters.forEach(function(items){ console.log(items); }); </pre>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Foreach Loop

var letters=["a", "b", "c"];
letters.forEach(function(items){
  console.log(items);
  
});