mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Remove semicolons.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import baseEach from './baseEach.js';
|
||||
import baseEach from './baseEach.js'
|
||||
|
||||
/**
|
||||
* The base implementation of `every`.
|
||||
@@ -10,12 +10,12 @@ import baseEach from './baseEach.js';
|
||||
* else `false`
|
||||
*/
|
||||
function baseEvery(collection, predicate) {
|
||||
let result = true;
|
||||
let result = true
|
||||
baseEach(collection, (value, index, collection) => {
|
||||
result = !!predicate(value, index, collection);
|
||||
return result;
|
||||
});
|
||||
return result;
|
||||
result = !!predicate(value, index, collection)
|
||||
return result
|
||||
})
|
||||
return result
|
||||
}
|
||||
|
||||
export default baseEvery;
|
||||
export default baseEvery
|
||||
|
||||
Reference in New Issue
Block a user