Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 /**
5 * When Function object(F) is constructed the length property of F is set to the number of formal properties specified in FormalParameterList
6 *
7 * @path ch13/13.2/S13.2_A3.js
8 * @description Creating functions with various FormalParameterList and checking their lengths
9 */
11 function __func(){};
13 //////////////////////////////////////////////////////////////////////////////
14 //CHECK#1
15 if (__func.length !== 0) {
16 $ERROR('#1: __func.length === 0. Actual: __func.length ==='+__func.length);
17 }
18 //
19 //////////////////////////////////////////////////////////////////////////////
21 function __gunc(a,b,c){};
23 //////////////////////////////////////////////////////////////////////////////
24 //CHECK#2
25 if (__gunc.length !== 3) {
26 $ERROR('#2: __gunc.length === 3. Actual: __gunc.length ==='+__gunc.length);
27 }
28 //
29 //////////////////////////////////////////////////////////////////////////////