@nathanfaucett/array-for_each

0.0.1 • Public • Published

array-for_each

executes a provided function once per array element.

var arrayForEach = require("@nathanfaucett/array-for_each");


arrayForEach([2, 4, 6], function(value, index, array) {
    console.log(value, index, array);
});

Package Sidebar

Install

npm i @nathanfaucett/array-for_each

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • nathanfaucett