List of utility methods to do Number Negate
negate()Number.prototype.negate = function () "use strict"; return -this; }; (4.24242).negate(); | |
negate()Number.prototype.negate = function () "use strict"; return -this; }; for (var i = 1; i < 1e4; ++i) (0x424242).negate(); | |
negate()Number.prototype.negate = function () "use strict"; return -this; }; (0xfffffff * 100000).negate(); | |
negate()Number.prototype.negate = function () "use strict"; return -this; }; noInline(Number.prototype.negate); for (var i = 0; i < 1e4; ++i) (i % 3 === 0 ? -i : i).negate(); for (var i = 0; i < 1e4; ++i) ... |