js string plus number

JavaScript
console.log(10+"1"); //101   both will be string
console.log(10-"1"); //9     string will be taken as number
Source

Also in JavaScript: