keith_miller@apple.com | bcc77f2 | 2016-07-15 06:03:25 +0000 | [diff] [blame] | 1 | // Copyright (c) 2012 Ecma International. All rights reserved. |
2 | // This code is governed by the BSD license found in the LICENSE file. | ||||
3 | |||||
4 | /*--- | ||||
5 | es5id: 15.4.3.2-0-7 | ||||
6 | description: Array.isArray returns false if its argument is not an Array | ||||
7 | ---*/ | ||||
8 | |||||
9 | var o = new Object(); | ||||
10 | o[12] = 13; | ||||
11 | var b = Array.isArray(o); | ||||
12 | |||||
13 | assert.sameValue(b, false, 'b'); |