handlebars lekcja 1

This commit is contained in:
aplikacje committed 2026-10-08 10:51:15 +02:00
1 parent e42104c4fb
commit 527e0a34bb
1265 files changed
+213278

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);
};