Re:Why does parseInt(1/0, 19) return 18?
by justincormack on Tuesday July 10, 2012 @04:14AM
(#4222645)
Just because you have weak types does not mean you have to have automatic coercion.
[ Parent
| on HN ]
That's actually a widely accepted definition of "weak types": automatic type coercion. That said, "weakly typed" is not a well-defined term and I prefer not to use it.
Note that it is not the same as dynamic types. A dynamic type system is a well-defined concept and says nothing about type coercion.