object-is

Value comparer

A shim for comparing values in JavaScript

ES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.

GitHub

25 stars
4 watching
7 forks
Language: JavaScript
last commit: over 2 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
es-shims/object.valuesShim to implement Object.values in environments lacking its support or spec compliance72
es-shims/object.entriesAn ES2017 spec-compliant shim to ensure compatibility in environments lacking native Object.entries support.57
es-shims/object.fromentriesA shim polyfill for the Object.fromEntries method to ensure compatibility with older JavaScript environments.33
es-shims/array-includesA polyfill for the Array.prototype.includes method in older JavaScript environments43
es-shims/array.prototype.somePolyfills an ES5 method to check if any element in an array meets a condition2
es-shims/string.prototype.replaceallA polyfill shim for the String.prototype.replaceAll method to ensure compatibility with ESnext proposal in older JavaScript environments.36
es-shims/array.prototype.everyA polyfill for the Array.prototype.every method to enable it in older JavaScript environments.7
es-shims/array.prototype.flatmapProvides a shim for the Array.prototype.flatMap method to work in older JavaScript environments.32
es-shims/globalthisProvides a polyfill for accessing the global object in ECMAScript environments where it is not supported155
es-shims/string.prototype.trimrightA shim that adds support for the trimRight method to the String prototype in JavaScript environments where it is not natively supported.8
mathiasbynens/array.ofAn ES2015 spec-compliant shim for the Array.of method in ECMAScript 615
es-shims/string.prototype.trimleftA shim to add support for trimming whitespace from the left side of strings in JavaScript.7
es-shims/string.prototype.trimAn ES5 spec-compliant shim for removing whitespace from string edges13
ljharb/object-keysProvides a shim for accessing object keys in JavaScript environments where Object.keys is not available.45
robatwilliams/es-compatChecks JavaScript code compatibility with target browsers and Node.js versions68