DEV Community

Discussion on: JavaScript: Reduce the number of conditional operators used in the expression

Collapse
 
pichardoj profile image
J. Pichardo

Nice, haven't tried it, however, won't it evaluate as true for Boolean being an object?