mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Apply let/const transform.
This commit is contained in:
@@ -10,7 +10,7 @@ import baseEach from './_baseEach.js';
|
||||
* else `false`.
|
||||
*/
|
||||
function baseSome(collection, predicate) {
|
||||
var result;
|
||||
let result;
|
||||
|
||||
baseEach(collection, (value, index, collection) => {
|
||||
result = predicate(value, index, collection);
|
||||
|
||||
Reference in New Issue
Block a user