DEV Community

Discussion on: Algorithm 202: Falsy Bouncer in 4 Ways

Collapse
 
zenulabidin profile image
Ali Sherief • Edited

I think that the third way of implementing a falsy bouncer is the easiest and shortest way. It doesn't get simpler than applying reduce with an arrow function.

Collapse
 
ebereplenty profile image
NJOKU SAMSON EBERE

Thank you Ali for taking your time to read through.

The idea was just to show different way to solving one problem but in no particular order.