polyfill.js 235 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 'use strict'; var implementation = require('./implementation'); module.exports = function getPolyfill() { if (Number.isNaN && Number.isNaN(NaN) && !Number.isNaN('a')) { return Number.isNaN; } return implementation; };