Number.prototype.mod = function(n) { return ((this%n)+n)%n; };. Taken from this article: The JavaScript Modulo Bug.
確定! 回上一頁