Initial commit
This commit is contained in:
16
node_modules/is-nan/shim.js
generated
vendored
Normal file
16
node_modules/is-nan/shim.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
var define = require('define-properties');
|
||||
var getPolyfill = require('./polyfill');
|
||||
|
||||
/* http://www.ecma-international.org/ecma-262/6.0/#sec-number.isnan */
|
||||
|
||||
module.exports = function shimNumberIsNaN() {
|
||||
var polyfill = getPolyfill();
|
||||
define(Number, { isNaN: polyfill }, {
|
||||
isNaN: function testIsNaN() {
|
||||
return Number.isNaN !== polyfill;
|
||||
}
|
||||
});
|
||||
return polyfill;
|
||||
};
|
||||
Reference in New Issue
Block a user