blob: d994687cf82dbcca58ee7452c0d5f756a7b290b5 (
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-9-b-ii-10
description: >
Array.prototype.indexOf - both array element and search element
are Boolean type, and they have same value
includes: [runTestCase.js]
---*/
function testcase() {
return [false, true].indexOf(true) === 1;
}
runTestCase(testcase);
|