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: an iterable // fp: process function (v, i, x)
const xiterable = require('extra-iterable'); var x = [1, 2, -3, -4]; xiterable.forEach(x, v => console.xiterable.log(v)); // → 1 // → 2 // → -3 // → -4