+ 1
Please give me the answers to the two questions below
1. var x = "5" + 2 + 3; 2. var x = 2 + 3 + "5";
3 Answers
+ 14
1 -> 523
2 -> 55
+ 2
hello
first : "5"+2 -> "52" + 3 -> "523"
string concat only
2nd : 2+3 -> 5 + "5" -> "55"
eval add & string concat