mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
Fix doc example for _.forEach. [ci skip]
This commit is contained in:
@@ -5874,7 +5874,7 @@
|
||||
* @returns {Array|Object|string} Returns `collection`.
|
||||
* @example
|
||||
*
|
||||
* _([1, 2, 3]).forEach(function(n) { console.log(n); });
|
||||
* _([1, 2, 3]).forEach(function(n) { console.log(n); }).value();
|
||||
* // => logs each value from left to right and returns the array
|
||||
*
|
||||
* _.forEach({ 'one': 1, 'two': 2, 'three': 3 }, function(n, key) { console.log(n, key); });
|
||||
|
||||
Reference in New Issue
Block a user