tests/auto/qml/ecmascripttests/test262/test/built-ins/Array/isArray/15.4.3.2-1-13.js
raw| 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 | esid: sec-array.isarray |
| 6 | es5id: 15.4.3.2-1-13 |
| 7 | description: Array.isArray applied to Arguments object |
| 8 | ---*/ |
| 9 | |
| 10 | var arg; |
| 11 | |
| 12 | (function fun() { |
| 13 | arg = arguments; |
| 14 | }(1, 2, 3)); |
| 15 | |
| 16 | assert.sameValue(Array.isArray(arg), false, 'Array.isArray(arg)'); |