DEV Community

Discussion on: In defense of JavaScript oddities

Collapse
 
andychiare profile image
Andrea Chiarelli

Thanks for your feedback, @nepeckman .
I think that type coercion is due to historic reasons requiring that a browser should not crash (as much as possible) neither during HTML markup interpretation nor during JavaScript code execution