Sign in
cobalt
/
cobalt
/
c52866be1febb1c09c04df4cb93d87f3595f4dc1
/
.
/
src
/
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
);
};