mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Fix doc typos fourty to forty. [ci skip]
This commit is contained in:
@@ -3083,17 +3083,17 @@
|
|||||||
* // => 2
|
* // => 2
|
||||||
*
|
*
|
||||||
* var dict = {
|
* var dict = {
|
||||||
* 'wordToNumber': { 'twenty': 20, 'thirty': 30, 'fourty': 40, 'fifty': 50 }
|
* 'wordToNumber': { 'twenty': 20, 'thirty': 30, 'forty': 40, 'fifty': 50 }
|
||||||
* };
|
* };
|
||||||
*
|
*
|
||||||
* // using `callback`
|
* // using `callback`
|
||||||
* _.sortedIndex(['twenty', 'thirty', 'fifty'], 'fourty', function(word) {
|
* _.sortedIndex(['twenty', 'thirty', 'fifty'], 'forty', function(word) {
|
||||||
* return dict.wordToNumber[word];
|
* return dict.wordToNumber[word];
|
||||||
* });
|
* });
|
||||||
* // => 2
|
* // => 2
|
||||||
*
|
*
|
||||||
* // using `callback` with `thisArg`
|
* // using `callback` with `thisArg`
|
||||||
* _.sortedIndex(['twenty', 'thirty', 'fifty'], 'fourty', function(word) {
|
* _.sortedIndex(['twenty', 'thirty', 'fifty'], 'forty', function(word) {
|
||||||
* return this.wordToNumber[word];
|
* return this.wordToNumber[word];
|
||||||
* }, dict);
|
* }, dict);
|
||||||
* // => 2
|
* // => 2
|
||||||
|
|||||||
Reference in New Issue
Block a user