Powtóreczka

This commit is contained in:
floriano committed 2026-09-30 17:28:53 +02:00
1 parent e80734527f
commit c1348ef991
648 files changed
+66782

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
'use strict';
var $floor = require('./floor');
/** @type {import('./mod')} */
module.exports = function mod(number, modulo) {
var remain = number % modulo;
return $floor(remain >= 0 ? remain : remain + modulo);
};