Sign in
cobalt
/
cobalt
/
08336faa599332e3e3bf29b7ad38ef023018b55e
/
.
/
third_party
/
devtools
/
node_modules
/
es-abstract
/
helpers
/
mod.js
blob: 70f0eead84a881d319c0c62ae9fccd94b8a3186a [
file
] [
log
] [
blame
]
'use strict'
;
module
.
exports
=
function
mod
(
number
,
modulo
)
{
var
remain
=
number
%
modulo
;
return
Math
.
floor
(
remain
>=
0
?
remain
:
remain
+
modulo
);
};