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.
- Host: GitHub
- URL: https://github.com/jackhowa/falsy-bouncer
- Owner: JackHowa
- Created: 2017-08-10T20:56:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-10T21:11:46.000Z (over 8 years ago)
- Last Synced: 2025-06-13T07:01:48.689Z (6 months ago)
- Topics: algorithm, freecodecamp
- Language: JavaScript
- Homepage: https://www.freecodecamp.org/challenges/falsy-bouncer
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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()