Repair indexOf test that was testing lastIndexOf (#2521)

Looks like a cut-n-paste error; a test in the `indexOf` subtree was
actually testing the `lastIndexOf` function. Now pointing where it
should.

Fixes #2520.
This commit is contained in:
Steven Cole 2020-03-10 18:09:10 -07:00 committed by GitHub
parent 36882a28e2
commit b0cb75f30c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ description: >
'array' with length 0 )
---*/
var i = Array.prototype.lastIndexOf.call({
var i = Array.prototype.indexOf.call({
length: 0
}, 1);