mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Apply let/const transform.
This commit is contained in:
@@ -9,7 +9,7 @@ import isKeyable from './_isKeyable.js';
|
||||
* @returns {*} Returns the map data.
|
||||
*/
|
||||
function getMapData({ __data__ }, key) {
|
||||
var data = __data__;
|
||||
const data = __data__;
|
||||
return isKeyable(key)
|
||||
? data[typeof key == 'string' ? 'string' : 'hash']
|
||||
: data.map;
|
||||
|
||||
Reference in New Issue
Block a user