iter-shims

Shims the iterator methods

iter-shims

Shims the iterator methods. Bonus: it works on NodeLists.

npm install iter-shims
var forEach = require('iter-shims').forEach;
// or 
var forEach = require('iter-shims/forEach');
 
forEach(arr, fn);

List of methods: forEach, map, filter, every, some, find and findIndex.

MIT License.