1
0
mirror of https://github.com/tc39/test262.git synced 2025-04-08 19:35:28 +02:00

Repair indexOf test that was testing lastIndexOf ()

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 .
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

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