UNPKG

338 BJavaScriptView Raw
1'use strict';
2
3var Sugar = require('sugar-core'),
4 isRealNaN = require('../../common/internal/isRealNaN');
5
6Sugar.Number.defineStaticPolyfill({
7
8 'isNaN': function(obj) {
9 return isRealNaN(obj);
10 }
11
12});
13
14// This package does not export anything as it is mapping a
15// polyfill to Number.prototype which cannot be called statically.
\No newline at end of file