|
|
il y a 3 ans | |
|---|---|---|
| .. | ||
| index.js | il y a 3 ans | |
| license | il y a 3 ans | |
| package.json | il y a 3 ans | |
| readme.md | il y a 3 ans | |
ES6
Number.isNaN()ponyfillPonyfill: A polyfill that doesn't overwrite the native method
$ npm install --save number-is-nan
var numberIsNan = require('number-is-nan');
numberIsNan(NaN);
//=> true
numberIsNan('unicorn');
//=> false
MIT © Sindre Sorhus