There are numerous occasions where JavaScript behaves strangely.
I love the frameworks written on top of javascript but do not prefer to...
For further actions, you may consider blocking this person and/or reporting abuse
It is not. Most of the problems you're going to solve with JavaScript in any real-world application are from a completely different domain.
EDIT
I made this comment while the title of the post was "Why is JavaScript so hated?".
Yes you are right and I agree but I just wanted to share the use cases where javascript behaves strangely..!!
You should rename this article to « Strange Behavior in JavaScript ». JavaScript is in no way a hated language.
Done....changed. Thanks for your recommendation..!! Really appreciate it.
Scenario 6 blew my mind! I did not know that's how the Array prototype worked.
That actually inspired me to write this article...!! :D
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.
Sure. I will have a look..!!