Are both addition and concatenation same in JavaScript?
Answers
Answered by
0
There are two ways of doing string concatenation in JavaScript. This post demonstrates them and explains which one is faster. 1. ... The + operator does string concatenation as soon as one of its operands is a string. Then the other operand is converted to string
Similar questions