Merge pull request #253 from ajoslin/master

Fix missing backtick in uniq docs

Former-commit-id: 37b7007e2f2bc8e30f09fb04dc1a2a69c84795e2
This commit is contained in:
John-David Dalton
2013-04-23 20:14:24 -07:00

View File

@@ -766,7 +766,7 @@ _.union([1, 2, 3], [101, 2, 1, 10], [2, 1]);
### <a id="_uniqarray--issortedfalse-callbackidentity-thisarg"></a>`_.uniq(array [, isSorted=false, callback=identity, thisArg])`
<a href="#_uniqarray--issortedfalse-callbackidentity-thisarg">#</a> [&#x24C8;](https://github.com/bestiejs/lodash/blob/master/lodash.js#L4038 "View in source") [&#x24C9;][1]
Creates a duplicate-value-free version of the `array` using strict equality for comparisons, i.e. `===`. If the `array` is already sorted, passing `true` for `isSorted` will run a faster algorithm. If `callback` is passed, each element of `array` is passed through a callback` before uniqueness is computed. The `callback` is bound to `thisArg` and invoked with three arguments; *(value, index, array)*.
Creates a duplicate-value-free version of the `array` using strict equality for comparisons, i.e. `===`. If the `array` is already sorted, passing `true` for `isSorted` will run a faster algorithm. If `callback` is passed, each element of `array` is passed through a `callback` before uniqueness is computed. The `callback` is bound to `thisArg` and invoked with three arguments: *(value, index, array)*.
If a property name is passed for `callback`, the created "_.pluck" style callback will return the property value of the given element.
@@ -3965,4 +3965,4 @@ IE < `8` can't access characters by index and IE `8` can only access characters
<!-- /div -->
[1]: #Arrays "Jump back to the TOC."
[1]: #Arrays "Jump back to the TOC."