sugar
Version:
A Javascript utility library for working with native objects.
15 lines (10 loc) • 338 B
JavaScript
;
var Sugar = require('sugar-core'),
isRealNaN = require('../../common/internal/isRealNaN');
Sugar.Number.defineStaticPolyfill({
'isNaN': function(obj) {
return isRealNaN(obj);
}
});
// This package does not export anything as it is mapping a
// polyfill to Number.prototype which cannot be called statically.