lib/util.js
function pull(xs, x) {
    const idx = xs.indexOf(x);
    if (idx > -1) {
        xs.splice(idx, 1);
    }
}
function pull(xs, x) {
    const idx = xs.indexOf(x);
    if (idx > -1) {
        xs.splice(idx, 1);
    }
}
function pull ( xs , x ) { const idx = xs . indexOf ( x ) ; if ( idx > - 1 ) { xs . splice ( idx , 1 ) ; } }
Remove an item from a list, in place.
Remove an item from a list in place .