diff options
Diffstat (limited to 'node_modules/es-abstract/helpers/isFinite.js')
-rw-r--r-- | node_modules/es-abstract/helpers/isFinite.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/node_modules/es-abstract/helpers/isFinite.js b/node_modules/es-abstract/helpers/isFinite.js index 46585376b..9e7cd4f82 100644 --- a/node_modules/es-abstract/helpers/isFinite.js +++ b/node_modules/es-abstract/helpers/isFinite.js @@ -1,3 +1,5 @@ +'use strict'; + var $isNaN = Number.isNaN || function (a) { return a !== a; }; module.exports = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity; }; |