summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/lodash/_Hash.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/lodash/_Hash.js')
-rw-r--r--tools/eslint/node_modules/lodash/_Hash.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/eslint/node_modules/lodash/_Hash.js b/tools/eslint/node_modules/lodash/_Hash.js
new file mode 100644
index 0000000000..25108ad7fd
--- /dev/null
+++ b/tools/eslint/node_modules/lodash/_Hash.js
@@ -0,0 +1,17 @@
+var nativeCreate = require('./_nativeCreate');
+
+/** Used for built-in method references. */
+var objectProto = Object.prototype;
+
+/**
+ * Creates an hash object.
+ *
+ * @private
+ * @returns {Object} Returns the new hash object.
+ */
+function Hash() {}
+
+// Avoid inheriting from `Object.prototype` when possible.
+Hash.prototype = nativeCreate ? nativeCreate(null) : objectProto;
+
+module.exports = Hash;