Let\'s look at the following Javascript code.
+ is used for both concatenation and addition, but when used with a string, defaults to concatenation. - cannot be used on strings, so its operands are converted to numbers.
+
-
Edit: This is not meant to be identical to the above post! XD