mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Fix documentation typo, s/uiq/uniq. [closes #32] [cheeaun]
Former-commit-id: 343ff0d9a7238ab7eec6d5cc75b5c7dff3de1925
This commit is contained in:
@@ -2336,7 +2336,7 @@ Produces a duplicate-value-free version of the `array` using strict equality for
|
|||||||
_.uniq([1, 2, 1, 3, 1]);
|
_.uniq([1, 2, 1, 3, 1]);
|
||||||
// => [1, 2, 3]
|
// => [1, 2, 3]
|
||||||
|
|
||||||
_.uiq([1, 1, 2, 2, 3], true);
|
_.uniq([1, 1, 2, 2, 3], true);
|
||||||
// => [1, 2, 3]
|
// => [1, 2, 3]
|
||||||
|
|
||||||
_.uniq([1, 2, 1.5, 3, 2.5], function(num) { return Math.floor(num); });
|
_.uniq([1, 2, 1.5, 3, 2.5], function(num) { return Math.floor(num); });
|
||||||
|
|||||||
@@ -1668,7 +1668,7 @@
|
|||||||
* _.uniq([1, 2, 1, 3, 1]);
|
* _.uniq([1, 2, 1, 3, 1]);
|
||||||
* // => [1, 2, 3]
|
* // => [1, 2, 3]
|
||||||
*
|
*
|
||||||
* _.uiq([1, 1, 2, 2, 3], true);
|
* _.uniq([1, 1, 2, 2, 3], true);
|
||||||
* // => [1, 2, 3]
|
* // => [1, 2, 3]
|
||||||
*
|
*
|
||||||
* _.uniq([1, 2, 1.5, 3, 2.5], function(num) { return Math.floor(num); });
|
* _.uniq([1, 2, 1.5, 3, 2.5], function(num) { return Math.floor(num); });
|
||||||
|
|||||||
Reference in New Issue
Block a user