Fix doc typos fourty to forty. [ci skip]

This commit is contained in:
John-David Dalton
2014-04-29 07:58:46 -07:00
parent 2d3d66e9d1
commit d2fa2be5af

View File

@@ -3083,17 +3083,17 @@
* // => 2
*
* var dict = {
* 'wordToNumber': { 'twenty': 20, 'thirty': 30, 'fourty': 40, 'fifty': 50 }
* 'wordToNumber': { 'twenty': 20, 'thirty': 30, 'forty': 40, 'fifty': 50 }
* };
*
* // using `callback`
* _.sortedIndex(['twenty', 'thirty', 'fifty'], 'fourty', function(word) {
* _.sortedIndex(['twenty', 'thirty', 'fifty'], 'forty', function(word) {
* return dict.wordToNumber[word];
* });
* // => 2
*
* // using `callback` with `thisArg`
* _.sortedIndex(['twenty', 'thirty', 'fifty'], 'fourty', function(word) {
* _.sortedIndex(['twenty', 'thirty', 'fifty'], 'forty', function(word) {
* return this.wordToNumber[word];
* }, dict);
* // => 2