blob: 74a20610eabb05456d91f764529681ca572ee939 [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-6
description: >
Array.prototype.indexOf - array element is +0 and search element
is -0
---*/
assert.sameValue([+0].indexOf(-0), 0, '[+0].indexOf(-0)');