mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-29 22:41:20 +01:00
composer and npm
This commit is contained in:
19
conf/site/node_modules/object-is/implementation.js
generated
vendored
Normal file
19
conf/site/node_modules/object-is/implementation.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
|
||||
var numberIsNaN = function (value) {
|
||||
return value !== value;
|
||||
};
|
||||
|
||||
module.exports = function is(a, b) {
|
||||
if (a === 0 && b === 0) {
|
||||
return 1 / a === 1 / b;
|
||||
}
|
||||
if (a === b) {
|
||||
return true;
|
||||
}
|
||||
if (numberIsNaN(a) && numberIsNaN(b)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user