An open API service indexing awesome lists of open source software.

https://github.com/jackhowa/falsy-bouncer

Remove all falsy values from an array.
https://github.com/jackhowa/falsy-bouncer

algorithm freecodecamp

Last synced: 6 months ago
JSON representation

Remove all falsy values from an array.

Awesome Lists containing this project

README

          

# Falsy-bouncer

Falsy values in JavaScript are false, null, 0, "", undefined, and NaN.

Here are some hints:

Boolean Objects
Array.prototype.filter()