Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2024-09-16 17:29:58 +00:00
parent 1afca056e3
commit 6989ba7bd2
3942 changed files with 55190 additions and 132206 deletions

View file

@ -1,7 +1,5 @@
'use strict';
var Type = require('./Type');
// var modulo = require('./modulo');
var $floor = Math.floor;
@ -9,7 +7,7 @@ var $floor = Math.floor;
module.exports = function floor(x) {
// return x - modulo(x, 1);
if (Type(x) === 'BigInt') {
if (typeof x === 'bigint') {
return x;
}
return $floor(x);