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/isPrimitive.js')
-rw-r--r--node_modules/es-abstract/helpers/isPrimitive.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/node_modules/es-abstract/helpers/isPrimitive.js b/node_modules/es-abstract/helpers/isPrimitive.js
index 366915645..06f0bf042 100644
--- a/node_modules/es-abstract/helpers/isPrimitive.js
+++ b/node_modules/es-abstract/helpers/isPrimitive.js
@@ -1,3 +1,5 @@
+'use strict';
+
module.exports = function isPrimitive(value) {
return value === null || (typeof value !== 'function' && typeof value !== 'object');
};