X-Git-Url: https://git.r.bdr.sh/rbdr/canvas/blobdiff_plain/2df937df1372359babd123d1361e702a1a4b8168..587d8fe65d61b8f7217b4e8850b44e43159c16fb:/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; };