From b58bfa82e64b94e7f25c955a0259a08a0296e7b2 Mon Sep 17 00:00:00 2001 From: jdalton Date: Mon, 26 Jan 2015 20:04:38 -0800 Subject: [PATCH] Fix doc example for `_.forEach`. [ci skip] --- lodash.src.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.src.js b/lodash.src.js index 8eba47acb..5fe2b752d 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -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); });