I recently went through this typecast JS question:
Given \'11\'+10, the answer is 1110. It is clear that is not 21 because one
\'11\'+10
1110
21
Because of + is a operator overloading to contact a string and - operator not basically use with the string.
+
-
Using - string will convert into integer and in + case string will concate.