> JavaScript, also being weakly typed, will opt to perform string concatenation, so 1 + "1" = "11".
How is this an example of weak typing when type information is essential to doing it?
> In strongly typed languages, you can expect an exception rather than an implicit type coercion, when you pass an argument or operand of the wrong type.
That's static typing, which is orthogonal to what we're talking about.
How is this an example of weak typing when type information is essential to doing it?
> In strongly typed languages, you can expect an exception rather than an implicit type coercion, when you pass an argument or operand of the wrong type.
That's static typing, which is orthogonal to what we're talking about.