DEV Community

loading...

Discussion on: Convert to Boolean

Collapse
jonrandy profile image
Jon Randy

Solution 3 - why bother? JS has the concept of truthy and falsy. Understand it, and take advantage of it