how to add arithmetic operators in javascript code example
Example 1: javascript 1 + "1"
console.log(10+"1"); //101
console.log(10-"1"); //9
Example 2: modulus js
console.log(10%3);
//returns 1 (the remainder of 10/3)
console.log(10+"1"); //101
console.log(10-"1"); //9
console.log(10%3);
//returns 1 (the remainder of 10/3)