I don't mean to be mean but some of these answers depend on what language you use.
For example
var a = '3'; var b = '4'; a + b;
Depending on the language may give you 7 or maybe give you 34.
For example
var a = '3'; var b = '4'; a + b;
Depending on the language may give you 7 or maybe give you 34.
I tried to give the answer "TypeError" which I thought deserved full credit, but alas, no. :-)
% expr "3" + "4"
7
% expr "3" + 4
7
% expr 3 + 4
7Altough its adition only apply to numbers, so that would be a bad example, it does automaticaly interpret digit strings as numbers.
The cancerous piece of shit we know as Javascript.
"1"+"1" //=> "11"