Fix _.map doc example. [ci skip]

This commit is contained in:
Ismaël Mejía
2016-01-16 14:31:16 +01:00
committed by John-David Dalton
parent 67cd43d97a
commit 473d059efd

View File

@@ -7690,11 +7690,11 @@
* return n * n;
* }
*
* _.map([1, 2], square);
* // => [3, 6]
* _.map([4, 8], square);
* // => [16, 64]
*
* _.map({ 'a': 1, 'b': 2 }, square);
* // => [3, 6] (iteration order is not guaranteed)
* _.map({ 'a': 4, 'b': 8 }, square);
* // => [16, 64] (iteration order is not guaranteed)
*
* var users = [
* { 'user': 'barney' },