ags
This commit is contained in:
parent
eddf7cecb8
commit
aea798d119
16631 changed files with 1480363 additions and 257 deletions
9
home/ags/node_modules/es-abstract/2017/SameValueZero.js
generated
vendored
Normal file
9
home/ags/node_modules/es-abstract/2017/SameValueZero.js
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
var $isNaN = require('../helpers/isNaN');
|
||||
|
||||
// https://262.ecma-international.org/6.0/#sec-samevaluezero
|
||||
|
||||
module.exports = function SameValueZero(x, y) {
|
||||
return (x === y) || ($isNaN(x) && $isNaN(y));
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue