Update checked-in dependencies
This commit is contained in:
parent
1afca056e3
commit
6989ba7bd2
3942 changed files with 55190 additions and 132206 deletions
4
node_modules/es-abstract/2020/floor.js
generated
vendored
4
node_modules/es-abstract/2020/floor.js
generated
vendored
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue