README
Calls a function for each value. :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:
This is part of package extra-iterable.
This is browserified, minified version of @extra-iterable/for-each.
It is exported as global variable iterable_forEach.
CDN: unpkg, jsDelivr.
iterable.forEach(x, fc);
// x: an iterable
// fc: called function (v, i, x)
const iterable = require("extra-iterable");
var x = [1, 2, -3, -4];
iterable.forEach(x, v => console.log(v));
// 1
// 2
// -3
// -4