npm.io
1.0.0 • Published 9 years ago

object.is

Licence
CC0-1.0
Version
1.0.0
Deps
0
Vulns
0
Weekly
0

object.is

Object.is() ponyfill

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.is

example

const is = require('object.is')

is('foo', 'foo') // => true
is(NaN, 0 / 0 ) // => true

Keywords