Skip to content

kewah/for-each

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forEach

Iterates an array

Installation

$ component install kewah/for-each

API

var forEach = require('for-each');

forEach([1, 2, 3, 4, 5, 6], function(num, index, arr, len) {
  console.log(num);

  if (3 === num) {
    return false;
  }
});

>> 1
>> 2
>> 3

License

MIT

About

Iterates an array

Resources

Stars

Watchers

Forks

Packages

No packages published