Using the % modulo to calculate the remainder in an expression in JS through WebStorm