js/src/tests/test262/ch13/13.2/S13.2_A2_T2.js

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

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  * Nested function are admitted
     6  *
     7  * @path ch13/13.2/S13.2_A2_T2.js
     8  * @description Nesting level is three
     9  */
    11 var __ROBOT="C3PO";
    13 function __FUNC(){
    14     function __GUNC(){
    15         return arguments[0];
    16     };
    17     function __HUNC(){
    18         return __GUNC;
    19     };
    20     return __HUNC;
    21 };
    23 //////////////////////////////////////////////////////////////////////////////
    24 //CHECK#1
    25 if (__FUNC()()(__ROBOT) !== __ROBOT) {
    26 	$ERROR('#1: __FUNC()()(__ROBOT) === __ROBOT. Actual: __FUNC()()(__ROBOT) ==='+__FUNC()()(__ROBOT));
    27 }
    28 //
    29 //////////////////////////////////////////////////////////////////////////////

mercurial