mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
Bump to v4.0.1.
This commit is contained in:
8
map.js
8
map.js
@@ -29,11 +29,11 @@ import isArray from './isArray';
|
||||
* 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' },
|
||||
|
||||
Reference in New Issue
Block a user