Skip to content

Commit

Permalink
Number.isNaN
Browse files Browse the repository at this point in the history
  • Loading branch information
msn0 committed Aug 9, 2018
1 parent a90ba1b commit d86fe4b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@ import 'mdn-polyfills/MouseEvent'; // 281 bytes
import 'mdn-polyfills/CustomEvent'; // 279 bytes
```

### [Number.isNaN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN#Polyfill)

```js
import 'mdn-polyfills/Number.isNaN'; // 53 bytes
```

# License

The mdn-polyfills as a module is licensed under MIT © [Michał Jezierski](https://github.com/msn0)<br/>
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"closest",
"toggleAttribute",
"matches",
"isNaN",
"Object.assign",
"Object.create",
"Array.of",
Expand All @@ -54,6 +55,7 @@
"Element.prototype.matches",
"MouseEvent",
"CustomEvent",
"Number.isNaN",
"polyfills",
"polyfill",
"mdn"
Expand Down
1 change: 1 addition & 0 deletions rollup.build.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,4 @@ rollup(input('./src/Element.prototype.toggleAttribute/index.js')).then(output('.
rollup(input('./src/Element.prototype.matches/index.js')).then(output('./Element.prototype.matches.js'));
rollup(input('./src/MouseEvent/index.js')).then(output('./MouseEvent.js'));
rollup(input('./src/CustomEvent/index.js')).then(output('./CustomEvent.js'));
rollup(input('./src/Number.isNaN/index.js')).then(output('./Number.isNaN.js'));

0 comments on commit d86fe4b

Please sign in to comment.