a plus b
Jump to navigation
Jump to search
back to COMREF
a + b
Operand types:
a, b: both Number or String or Array
Type of returned value:
Either Number or String or Array
Description: For numbers, a added to b. For strings, all the characters in a followed by all the charaters in b. For arrays, all the elements of a followed by all the elements of b
Examples:
Number
_result = 1 + 2 ........ _result is 3
String
_result = "He" + "llo" ........ _result is "Hello"
Array
_result = [1] + [2] ........ _result is [1,2]