function bouncer(arr) {
// Don’t show a false ID to this bouncer.
function nonFalse(){
for (i=0;i<arr.length;i++){
if (arr[i]===true){arr.filter(nonFalse); } }
}
return arr;
}
bouncer([7, “ate”, “”, false, 9]);
So, what’s wrong with the code(except excessive curly braces, but they’re not error), some hunch?