Addition Operator and String
The + operator can also be used to concatenate strings, for example:
'Text1' + ' ' + 'Text2'
The result will be 'Text1 Text2'
Adding a number and a string will always return a string, if one of the two operands cannot be converted to a number. Otherwise, a number will be returned. For example:
10 + 'a'
The result will be the string 10 a.
10 + '5'
The result will be number 105.