We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Call a function for each value.
function forEach(x, fp) // x: a set // fp: process function (v, v, x)
const set = require('extra-set'); var x = new Set([1, 2, -3, -4]); set.forEach(x, v => console.log(v)); // → 1 // → 2 // → -3 // → -4
There was an error while loading. Please reload this page.