blob: 9ced9d3864384a3bf5b8e8b8ca24f8c3d0d28015 [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-5-9
description: >
Array.prototype.indexOf - value of 'fromIndex' is a number (value
is -0)
---*/
assert.sameValue([true].indexOf(true, -0), 0, '[true].indexOf(true, -0)');