When using a +, JS checks for string concatenation first, finds a string in the expression, and treats all terms as if they were strings. - can't be used for string concatenation, so it treats everything as numbers.
Utoljára szerkesztette: Jim Morrison, 2017.08.08. 14:58:48