X-Git-Url: https://git.r.bdr.sh/rbdr/canvas/blobdiff_plain/2df937df1372359babd123d1361e702a1a4b8168..refs/heads/main:/src/lib/math.js?ds=inline diff --git a/src/lib/math.js b/src/lib/math.js index c745cdc..9b45cf0 100644 --- a/src/lib/math.js +++ b/src/lib/math.js @@ -3,6 +3,6 @@ * @param {number} dividend the number to divide * @param {number} divisor the divisor to calculate the remainder */ -export const modulo = function modulo (dividend, divisor) { - return ((dividend % divisor) + divisor) % divisor +export const modulo = function modulo(dividend, divisor) { + return ((dividend % divisor) + divisor) % divisor; };