mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Update doc examples to ES2015.
This commit is contained in:
@@ -14,9 +14,7 @@ import baseEachRight from './.internal/baseEachRight.js';
|
||||
* @see forEach
|
||||
* @example
|
||||
*
|
||||
* forEachRight([1, 2], function(value) {
|
||||
* console.log(value);
|
||||
* });
|
||||
* forEachRight([1, 2], value => console.log(value));
|
||||
* // => Logs `2` then `1`.
|
||||
*/
|
||||
function forEachRight(collection, iteratee) {
|
||||
|
||||
Reference in New Issue
Block a user