iter-shims

Shims the iterator methods

iter-shims

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

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.