javascript maths operators code example
Example 1: modulus js
console.log(10%3);
//returns 1 (the remainder of 10/3)
Example 2: javascript modulo
x = a % b // % is modulo
console.log(10%3);
//returns 1 (the remainder of 10/3)
x = a % b // % is modulo