3 ms·
http://en.wikipedia.org/wiki/Type_safety http://en.wikipedia.org/wiki/Type_safety Aggressive type coercion is not type safety. It does not prevent type errors.
by ahoge 12y ago
http://en.wikipedia.org/wiki/Type_safety http://en.wikipedia.org/wiki/Type_safety
Aggressive type coercion is not type safety. It does not prevent type errors. It just sweeps them under the rug.
5 - 'foo'
That's a type error. It's not a convenient shortcut for `NaN`.