mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Apply more let/const transforms.
This commit is contained in:
@@ -11,8 +11,8 @@ import getMapData from './_getMapData.js';
|
||||
* @returns {Object} Returns the map cache instance.
|
||||
*/
|
||||
function mapCacheSet(key, value) {
|
||||
var data = getMapData(this, key),
|
||||
size = data.size;
|
||||
const data = getMapData(this, key);
|
||||
const size = data.size;
|
||||
|
||||
data.set(key, value);
|
||||
this.size += data.size == size ? 0 : 1;
|
||||
|
||||
Reference in New Issue
Block a user