console.log(10%3);
//returns 1 (the remainder of 10/3)
// The JS % operater is REMAINDER not MODULO
// For modulo behaviour use
function mod(n, m) {
return ((n % m) + m) % m;
}
// find even(/odd)
n%2===0
// find integer
//eg x/v isInteger
x%y === 0