string minus number in js code example Example: javascript 1 + "1" console.log(10+"1"); //101 console.log(10-"1"); //9