What is wrong with my code? I am still unable to get it.
function bouncer(arr) {
// Don't show a false ID to this bouncer.
var arrFalse = [false, null, 0, "", undefined,NaN ];
var i = 0;
function filteration(arr){
if(arr === arrFalse){
return true;
}else
{
return false;
}
}
filtered = arr.filter(filteration);
console.log(filtered);
}