blob: d3ae010c8139840c3b6a453bed442c89637322d8 [file] [log] [blame]
// 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
es5id: 15.4.4.14-9-b-ii-7
description: >
Array.prototype.indexOf - array element is -0 and search element
is +0
---*/
assert.sameValue([-0].indexOf(+0), 0, '[-0].indexOf(+0)');