Sha256: 81d3107815888858883d19f10ad2193881f39fb92bb6d1ea7f711bed1b8d68d0

Contents?: true

Size: 218 Bytes

Versions: 473

Compression:

Stored size: 218 Bytes

Contents

'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));
};

Version data entries

473 entries across 50 versions & 2 rubygems

Version Path
immosquare-cleaner-0.1.60 node_modules/es-abstract/2022/SameValueZero.js
immosquare-cleaner-0.1.60 node_modules/es-abstract/2020/SameValueZero.js
immosquare-cleaner-0.1.60 node_modules/es-abstract/2018/SameValueZero.js
immosquare-cleaner-0.1.60 node_modules/es-abstract/2021/SameValueZero.js
immosquare-cleaner-0.1.60 node_modules/es-abstract/2023/SameValueZero.js
immosquare-cleaner-0.1.60 node_modules/es-abstract/2019/SameValueZero.js
immosquare-cleaner-0.1.60 node_modules/es-abstract/2024/SameValueZero.js
immosquare-cleaner-0.1.60 node_modules/es-abstract/2017/SameValueZero.js
immosquare-cleaner-0.1.60 node_modules/es-abstract/2015/SameValueZero.js
immosquare-cleaner-0.1.60 node_modules/es-abstract/2016/SameValueZero.js
immosquare-cleaner-0.1.59 node_modules/es-abstract/2022/SameValueZero.js
immosquare-cleaner-0.1.59 node_modules/es-abstract/2023/SameValueZero.js
immosquare-cleaner-0.1.59 node_modules/es-abstract/2019/SameValueZero.js
immosquare-cleaner-0.1.59 node_modules/es-abstract/2020/SameValueZero.js
immosquare-cleaner-0.1.59 node_modules/es-abstract/2015/SameValueZero.js
immosquare-cleaner-0.1.59 node_modules/es-abstract/2017/SameValueZero.js
immosquare-cleaner-0.1.59 node_modules/es-abstract/2021/SameValueZero.js
immosquare-cleaner-0.1.59 node_modules/es-abstract/2016/SameValueZero.js
immosquare-cleaner-0.1.59 node_modules/es-abstract/2018/SameValueZero.js
immosquare-cleaner-0.1.59 node_modules/es-abstract/2024/SameValueZero.js