mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Apply even more let/const transforms.
This commit is contained in:
@@ -30,7 +30,7 @@ import toKey from './_toKey.js';
|
||||
* jQuery(element).on('click', view.click);
|
||||
* // => Logs 'clicked docs' when clicked.
|
||||
*/
|
||||
var bindAll = flatRest((object, methodNames) => {
|
||||
const bindAll = flatRest((object, methodNames) => {
|
||||
arrayEach(methodNames, key => {
|
||||
key = toKey(key);
|
||||
baseAssignValue(object, key, bind(object[key], object));
|
||||
|
||||
Reference in New Issue
Block a user