Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
387 B
17 lines
387 B
1 year ago
|
'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;
|
||
|
};
|