Skip to content

Commit

Permalink
Fixes arr.contains typo
Browse files Browse the repository at this point in the history
  • Loading branch information
locks committed Jul 19, 2016
1 parent 1266c00 commit 686b90d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/deprecations/v2.x.html.md
Expand Up @@ -685,8 +685,8 @@ var arr = ['a', 'b', 'c', NaN, undefined, null];
arr.includes('b'); // true
arr.includes('d'); // false
arr.includes(NaN); // true
arr.contains(null); // true
arr.contains(undefined); // true
arr.includes(null); // true
arr.includes(undefined); // true
```
`includes` also allows a second optional parameter `startAt` to specify the index at which to begin searching:
Expand Down

0 comments on commit 686b90d

Please sign in to comment.