I wrote the same solution on the video but it gives me an error
const numbers = [1, 2, 3, 4, 5];
function except(Arr, excluded) {
let newArr = [];
for (let element of Arr) {
if (!excluded.includes(element)){
newArr.push(element)
}
}
return newArr
}
console.log(except(numbers, 3));