Hi guys!
I’m doing this now and having gone through the basic solution I keep getting ‘boolean is not defined’. Here’s my code:
for (let i=0;i<arr.length;i++){
for (let j = 0; j<args.length; j++) {
if ([i]===args[j]){
delete arr[i];
}
}
}
return arr.filter(boolean);
}
Do you guys see what might be causing the problem? Thanks a bunch!