by kofman · 14y ago · 0 comments
A few of the weakest parts:
- for (var x in y) when used for array iteration or even dict iteration; hasOwnProperty? Really?
- x[obj] = y; seriously, did i really want '[Object object]' as my key?
- the choice of function level scope over block level scope
do ->
... local variables right here ...https://hackpad.com/spTEgxqvFYj#Things-That-Suck-About-JavaS...