blob: e69de33f20b5594130f837ab92a3f2d5c8d982d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.4.4.14-5-17
description: >
Array.prototype.indexOf - value of 'fromIndex' is a string
containing -Infinity
includes: [runTestCase.js]
---*/
function testcase() {
return [true].indexOf(true, "-Infinity") === 0;
}
runTestCase(testcase);
|