forked from jshint/jshint
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a shim for Array.prototype.indexOf
Apparently, whatever JavaScript engine WSH uses, it doesn't support Array.prototype.indexOf method so I had to add a shim for it. I took the original version from MDN and modified it to pass our lint tests. Closes jshintGH-617.
- Loading branch information
1 parent
49d3089
commit b8f430d
Showing
1 changed file
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters