DEV Community

Discussion on: More JavaScript Mistakes You May be Making

Collapse
 
aumayeung profile image
John Au-Yeung

Yea. Type coercion is tricky. I think we just have to convert everything to the same type so that we won't make mistakes with we apply operators to them.

Some comments have been hidden by the post's author - find out more