blob: 153ac82af62fe6930d8c0950ab3c23110a8a30a2 (
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 applied to string primitive
---*/
assert.sameValue(Array.prototype.indexOf.call("abc", "b"), 1, 'Array.prototype.indexOf.call("abc", "b")');
reportCompare(0, 0);
|