DEV Community

Discussion on: 30 JavaScript Tricky Hacks

Collapse
 
chasm profile image
Charles F. Munat

True. And the way to convert to Boolean is Boolean(value).