Sha256: 17364939fc9a94d3215beba321f6499a30cf879af8f7bf2f42bdf54c9d7b30a6

Contents?: true

Size: 450 Bytes

Versions: 124

Compression:

Stored size: 450 Bytes

Contents

'use strict';

var GetIntrinsic = require('get-intrinsic');

var $TypeError = GetIntrinsic('%TypeError%');

var SameValue = require('./SameValue');

// https://262.ecma-international.org/7.0/#sec-samevaluenonnumber

module.exports = function SameValueNonNumber(x, y) {
	if (typeof x === 'number' || typeof x !== typeof y) {
		throw new $TypeError('SameValueNonNumber requires two non-number values of the same type.');
	}
	return SameValue(x, y);
};

Version data entries

124 entries across 30 versions & 4 rubygems

Version Path
immosquare-cleaner-0.1.32 node_modules/es-abstract/2019/SameValueNonNumber.js
immosquare-cleaner-0.1.32 node_modules/es-abstract/2018/SameValueNonNumber.js
immosquare-cleaner-0.1.32 node_modules/es-abstract/2016/SameValueNonNumber.js
immosquare-cleaner-0.1.32 node_modules/es-abstract/2017/SameValueNonNumber.js
immosquare-cleaner-0.1.31 node_modules/es-abstract/2018/SameValueNonNumber.js
immosquare-cleaner-0.1.31 node_modules/es-abstract/2017/SameValueNonNumber.js
immosquare-cleaner-0.1.31 node_modules/es-abstract/2019/SameValueNonNumber.js
immosquare-cleaner-0.1.31 node_modules/es-abstract/2016/SameValueNonNumber.js
immosquare-cleaner-0.1.30 node_modules/es-abstract/2018/SameValueNonNumber.js
immosquare-cleaner-0.1.30 node_modules/es-abstract/2016/SameValueNonNumber.js
immosquare-cleaner-0.1.30 node_modules/es-abstract/2017/SameValueNonNumber.js
immosquare-cleaner-0.1.30 node_modules/es-abstract/2019/SameValueNonNumber.js
immosquare-cleaner-0.1.29 node_modules/es-abstract/2016/SameValueNonNumber.js
immosquare-cleaner-0.1.29 node_modules/es-abstract/2017/SameValueNonNumber.js
immosquare-cleaner-0.1.29 node_modules/es-abstract/2018/SameValueNonNumber.js
immosquare-cleaner-0.1.29 node_modules/es-abstract/2019/SameValueNonNumber.js
immosquare-cleaner-0.1.28 node_modules/es-abstract/2016/SameValueNonNumber.js
immosquare-cleaner-0.1.28 node_modules/es-abstract/2017/SameValueNonNumber.js
immosquare-cleaner-0.1.28 node_modules/es-abstract/2019/SameValueNonNumber.js
immosquare-cleaner-0.1.28 node_modules/es-abstract/2018/SameValueNonNumber.js