Apply let/const transform.

This commit is contained in:
John-David Dalton
2017-01-07 23:18:22 -08:00
parent 4c881b2726
commit 10f64ee9c4
103 changed files with 207 additions and 207 deletions

View File

@@ -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;