@extra-entries/for-each.min

Calls a function for each value. :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:

Usage no npm install needed!

<script type="module">
  import extraEntriesForEachMin from 'https://cdn.skypack.dev/@extra-entries/for-each.min';
</script>

README

Calls a function for each value. :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:

This is part of package extra-entries.

This is browserified, minified version of @extra-entries/for-each.
It is exported as global variable entries_forEach.
CDN: unpkg, jsDelivr.


entries.forEach(x, fc);
// x:  entries
// fc: called function (v, k, x)
const entries = require("extra-entries");

var x = [["a", 1], ["b", 2], ["c", -3], ["d", -4]];
entries.forEach(x, v => console.log(v));
// 1
// 2
// -3
// -4


References