return to return in console
my return is not returning in the console for the repl so idk if it is working.
ash15khng (472)
Your code is just evaluating your array, then throwing away the value. To print it out, use console.log
.
royalgreen50 (0)
function bouncer(arr) {
// Don't show a false ID to this bouncer.
return arr;
}
bouncer([7, "ate", "", false, 9]);
/*Remove all falsy values from an array.
Falsy values in JavaScript are false, null, 0, "", undefined, and NaN.
Hint: Try converting each value to a Boolean.
Remember to use Read-Search-Ask if you get stuck. Write your own code.*/
I got it there is an input button