object.is
v1.0.0
Published
`Object.is()` ponyfill
Maintainers
Readme
object.is
use the built-in
If you don't need to support Internet Explorer, you probably do not need this package. Object.is() is supported in most environments. Just use Object.is() directly.
install
$ npm install object.isexample
const is = require('object.is')
is('foo', 'foo') // => true
is(NaN, 0 / 0 ) // => true