how to reduce the number of remainders in javascript code example Example: javascript remainder function 12 % 5 // 2