So I am trying to make a string out of a string and a passed variable(which is a number). How do I do that?
I have something like this:
function AddB
In javascript the "+" operator is used to add numbers or to concatenate strings. if one of the operands is a string "+" concatenates, and if it is only numbers it adds them.
example:
1+2+3 == 6 "1"+2+3 == "123"