Version 1
[yaffs-website] / node_modules / grunt-legacy-log / node_modules / lodash / internal / mapGet.js
diff --git a/node_modules/grunt-legacy-log/node_modules/lodash/internal/mapGet.js b/node_modules/grunt-legacy-log/node_modules/lodash/internal/mapGet.js
new file mode 100644 (file)
index 0000000..1f22295
--- /dev/null
@@ -0,0 +1,14 @@
+/**
+ * Gets the cached value for `key`.
+ *
+ * @private
+ * @name get
+ * @memberOf _.memoize.Cache
+ * @param {string} key The key of the value to get.
+ * @returns {*} Returns the cached value.
+ */
+function mapGet(key) {
+  return key == '__proto__' ? undefined : this.__data__[key];
+}
+
+module.exports = mapGet;