Debian Codegraph @

vendor/static/moment/src/lib/utils/mod.js

raw
1 export default function mod(n, x) {
2 return ((n % x) + x) % x;
3 }