diff options
Diffstat (limited to 'node_modules/moment/src/lib/utils/mod.js')
-rw-r--r-- | node_modules/moment/src/lib/utils/mod.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/node_modules/moment/src/lib/utils/mod.js b/node_modules/moment/src/lib/utils/mod.js new file mode 100644 index 0000000..8046cda --- /dev/null +++ b/node_modules/moment/src/lib/utils/mod.js @@ -0,0 +1,3 @@ +export default function mod(n, x) { + return ((n % x) + x) % x; +} |