mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Remove semicolons.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import arrayEachRight from './.internal/arrayEachRight.js';
|
||||
import baseEachRight from './.internal/baseEachRight.js';
|
||||
import arrayEachRight from './.internal/arrayEachRight.js'
|
||||
import baseEachRight from './.internal/baseEachRight.js'
|
||||
|
||||
/**
|
||||
* This method is like `forEach` except that it iterates over elements of
|
||||
@@ -14,12 +14,12 @@ import baseEachRight from './.internal/baseEachRight.js';
|
||||
* @see forEach, forIn, forInRight, forOwn, forOwnRight
|
||||
* @example
|
||||
*
|
||||
* forEachRight([1, 2], value => console.log(value));
|
||||
* forEachRight([1, 2], value => console.log(value))
|
||||
* // => Logs `2` then `1`.
|
||||
*/
|
||||
function forEachRight(collection, iteratee) {
|
||||
const func = Array.isArray(collection) ? arrayEachRight : baseEachRight;
|
||||
return func(collection, iteratee);
|
||||
const func = Array.isArray(collection) ? arrayEachRight : baseEachRight
|
||||
return func(collection, iteratee)
|
||||
}
|
||||
|
||||
export default forEachRight;
|
||||
export default forEachRight
|
||||
|
||||
Reference in New Issue
Block a user