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

@@ -17,7 +17,7 @@ import toKey from './_toKey.js';
function baseInvoke(object, path, args) {
path = castPath(path, object);
object = parent(object, path);
var func = object == null ? object : object[toKey(last(path))];
const func = object == null ? object : object[toKey(last(path))];
return func == null ? undefined : apply(func, object, args);
}