function remove(arr, item) {
    return arr.reduce((p, c) => {
        c !== item && p.push(c);
        return p;
    }, [])
}