📅  最后修改于: 2022-03-11 15:02:51.304000             🧑  作者: Mango
代码示例1
// The JS % operater is REMAINDER not MODULO
// For modulo behaviour use
function mod(n, m) {
return ((n % m) + m) % m;
}