js/src/jit-test/tests/basic/testApplyAtJoinPoint.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 var isTrue = true;
     3 function g(x) {
     4     return x;
     5 }
     7 function f() {
     8     return g.apply(null, isTrue ? ["happy"] : arguments);
     9 }
    11 for (var i = 0; i < 18; ++i)
    12     assertEq(f("sad"), "happy");

mercurial