Falsy Bouncer (Solved)

I used the following line of code to solve this challenge, successfully

function bouncer(arr) {
// Don’t show a false ID to this bouncer.
var count = [];
for(var i = 0; i < arr.length; i++){
if(arr[i]){
count.push(arr[i]);
}
}
return count;
}

bouncer([7, “ate”, “”, false, 9]);