Merge remote-tracking branch 'origin/master'

This commit is contained in:
Angelos Chalaris
2018-01-26 13:55:44 +02:00
4 changed files with 95 additions and 17 deletions

View File

@ -15,5 +15,5 @@ const sortedIndexBy = (arr, n, fn) => {
```
```js
sortedIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, o => o.x); // 0
sortedIndexBy([{ x: 4 }, { x: 5 }], { x: 4 }, o => o.x); // 0
```

View File

@ -18,5 +18,5 @@ const sortedLastIndexBy = (arr, n, fn) => {
```
```js
sortedLastIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, o => o.x); // 1
sortedLastIndexBy([{ x: 4 }, { x: 5 }], { x: 4 }, o => o.x); // 1
```