DEV Community

loading...

Discussion on: 2 Ways to Convert Values to Boolean in JavaScript

Collapse
samanthaming profile image
Samantha Ming Author

Exactly Jon! I remember being told auto coercion is this scary beast. But then if you understand it, you can make the beast work for you 😊. It's just another thing JavaScript tries to help. And if you know what it's trying to do, why not let it πŸ˜‰