X-Git-Url: https://git.r.bdr.sh/rbdr/canvas/blobdiff_plain/e4e4b5202bf0039127f591941fddc1ff5ca09897..HEAD:/src/lib/math.js 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; };