Fix doc example for _.forEach. [ci skip]

This commit is contained in:
jdalton
2015-01-26 20:04:38 -08:00
parent a6257b5901
commit b58bfa82e6

View File

@@ -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); });