divide by in java script code example
Example 1: javascript 1 + "1"
console.log(10+"1"); //101
console.log(10-"1"); //9
Example 2: js modulo
// The JS % operater is REMAINDER not MODULO
// For modulo behaviour use
function mod(n, m) {
return ((n % m) + m) % m;
}