blob: 3c752a3b0c55d41b3e056720f4e3f102303b9dda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// 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 - both type of array element and type
of search element are Undefined
---*/
assert.sameValue([undefined].lastIndexOf(), 0, '[undefined].lastIndexOf()');
assert.sameValue([undefined].lastIndexOf(undefined), 0, '[undefined].lastIndexOf(undefined)');
reportCompare(0, 0);
|