Gazebo_simulation-Frontend/node_modules/.cache/babel-loader/f4130eb25f600d9dc688964b4a68be2b.json
2020-12-22 09:59:14 -05:00

1 line
650 B
JSON

{"ast":null,"code":"var assocIndexOf = require('./_assocIndexOf');\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\n\n\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n\n return this;\n}\n\nmodule.exports = listCacheSet;","map":null,"metadata":{},"sourceType":"script"}