We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Calls a function for each value. 🏃 📼 📦 🌔 📒
set.forEach(x, fn, [ths]); // x: a set // fn: called function (v, v, x) // ths: this argument
const map = require('extra-map'); var x = new Map([['a', 1], ['b', 2], ['c', -3], ['d', -4]]); map.forEach(x, v => console.log(v)); // 1 // 2 // -3 // -4