I recently went through this typecast JS question:
Given \'11\'+10, the answer is 1110. It is clear that is not 21 because one
+ sign is used for both Number and String concatenate. So it considers as two string concatenate when it found string first. You can use + prefix or Number to convert string to number
But - sign is used for subtraction only applicable to number. So it automatically converts string to number.
Following will solve your issue
(+'11') + 10
(+'11') - 10
(or)
Number('11') + 10
Number('11') - 10