blob: 5cb31026cdda067ffed9e40ebeab1394a50fceb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.isarray
es5id: 15.4.3.2-1-13
description: Array.isArray applied to Arguments object
---*/
var arg;
(function fun() {
arg = arguments;
}(1, 2, 3));
assert.sameValue(Array.isArray(arg), false, 'Array.isArray(arguments) must return false');
reportCompare(0, 0);
|