1) no 'use strict' You can accidentally misspell a variable in one place and the thing won't just blow up in your face right away... Instead, it will wait until you least want it to blow up.
2) horrible weak typing implemtation
- var foo can be either string or integer (cool) - foo + bar can do either concatenation or addition (hmmm) - html input fields cannot be typed - so how does it know when to turn 1+1 into 11 versus
java is not alone (Score:1)
javascript pet peeves (Score:2)
1) no 'use strict'
You can accidentally misspell a variable in one place and
the thing won't just blow up in your face right away...
Instead, it will wait until you least want it to blow up.
2) horrible weak typing implemtation
- var foo can be either string or integer (cool)
- foo + bar can do either concatenation or addition (hmmm)
- html input fields cannot be typed
- so how does it know when to turn 1+1 into 11 versus