summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/Tuple/prototype/indexOf/fromIndex-zero.js
blob: 0fa7d114e9265590c8e5c809a8f5cddabbfde120 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |reftest| skip-if(!this.hasOwnProperty("Tuple"))
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
description: >
    Tuple.prototype.indexOf - value of 'fromIndex' is a number (value
    is +0)
---*/

assertEq(#[true].indexOf(true, +0), 0, '#[true].indexOf(true, +0)');

reportCompare(0, 0);