0

Why the + operator with pure numeric value in string always concat them not actually perform operations on string numeric also just like other operators ?

Why they are concating them not did the + operation on it just like -.

For example

"10"-1 < 9

but

"10"+"1" is <"101" but not <"11"

VLAZ
  • 26,331
  • 9
  • 49
  • 67

0 Answers0