Modulo oblongata
The modulo (or modulus) operator % returns the remainder of a division operation. 3 % 0 === NaN (cannot divide by 0)3 % 1 === 0 (3 remainder 0)3 % 2 === 1 (1 remainder 1)3 % 3 === 0 (1 remainder 0)3 % 4 === 3 (0 remainder 3) A classic use case for … Read more