DEV Community

Discussion on: Strange Behavior in JavaScript

Collapse
 
lexlohr profile image
Alex Lohr

Yes, Javascript has its quirks, but what you describe is defined functionality of the language. Reading the ECMAscript standards will fix your wrong expectations about it.

Collapse
 
ssukhpinder profile image
Sukhpinder Singh

Sure. I will have a look..!!