Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/es-abstract/helpers/isFinite.js')
-rw-r--r--node_modules/es-abstract/helpers/isFinite.js2
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; };