js/src/tests/ecma_5/extensions/function-properties.js

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

     1 // Any copyright is dedicated to the Public Domain.
     2 // http://creativecommons.org/licenses/publicdomain/
     4 function foo()
     5 {
     6   assertEq(foo.arguments.length, 0);
     7   assertEq(foo.caller, null);
     8 }
    10 assertEq(foo.arguments, null);
    11 assertEq(foo.caller, null);
    12 foo();
    13 assertEq(foo.arguments, null);
    14 assertEq(foo.caller, null);
    16 /******************************************************************************/
    18 if (typeof reportCompare === "function")
    19   reportCompare(true, true);
    21 print("Tests complete");

mercurial