DEV Community

Discussion on: What you need to know about Javascript's Implicit Coercion

Collapse
 
jonrandy profile image
Jon Randy 🎖️ • Edited

If you think it is best avoided, you aren't taking full advantage of what is possible in JS. JS is a weakly-typed language - embrace that fact, and stop trying to use it as if it were strongly typed. It's a pro, not a con.

I'm looking at you, #TypeScript !