1.0.0 • Published 7 years ago

object.is v1.0.0

Weekly downloads
12
License
CC0-1.0
Repository
github
Last release
7 years ago

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