summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/ch08/8.8/S8.8_A2_T2.js
blob: 4ab032de0221cbc1a60ca1c8c270571ff301c9f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * Values of the List type are simply ordered sequences of values
 *
 * @path ch08/8.8/S8.8_A2_T2.js
 * @description Call function __mFunc([,,]) with 1 arguments
 */

function __mFunc(){return arguments.length;};
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if (__mFunc([,,]) !== 1){
  $ERROR('#1: function __mFunc(){return arguments.length;}; __mFunc([,,]) === 1. Actual: ' + (__mFunc([,,])));
}
//
//////////////////////////////////////////////////////////////////////////////