blob: 8dd7c0b72d24b84f3450c3b5c05bd882cf0a049e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.lastindexof
description: >
Array.prototype.lastIndexOf - value of 'fromIndex' is a number
(value is -Infinity)
---*/
assert.sameValue([true].lastIndexOf(true, -Infinity), -1, '[true].lastIndexOf(true, -Infinity)');
reportCompare(0, 0);
|