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