summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-ii-3.js
blob: 3674c2b54a5a53e366ccd0b24f905c76f536297a (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-3
description: >
    Array.prototype.indexOf - both type of array element and type of
    search element are null
includes: [runTestCase.js]
---*/

function testcase() {

        return [null].indexOf(null) === 0;
    }
runTestCase(testcase);