ES6 answer to 19 Exercise 3 - Except Element

const numbers = [1, 2, 3, 4];

const output = except(numbers, [1, 2]);

function except(array, excluded) {
return array.filter((num) => !excluded.includes(num));
}

console.log(output);

Worked great for me! :slight_smile: