Gazebo_simulation-Frontend/node_modules/.cache/babel-loader/e422ec9d4ec51f22774598f47efd6812.json
2020-12-31 20:18:50 +00:00

1 line
537 B
JSON

{"ast":null,"code":"var getMapData = require('./_getMapData');\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n\n\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;","map":null,"metadata":{},"sourceType":"script"}