blob: 0ca9e77463e657f10ec836c1f64aff512296fd2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// 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.indexof
description: Array.prototype.indexOf - non-existent property wouldn't be called
---*/
assert.sameValue([0, , 2].indexOf(undefined), -1, '[0, , 2].indexOf(undefined)');
reportCompare(0, 0);
|