js/src/jit-test/tests/arrow-functions/precedence-4.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 // Funny case that looks kind of like default arguments isn't.
     3 var f = (msg='hi', w=window => w.alert(a, b));  // sequence expression
     4 assertEq(msg, 'hi');
     5 assertEq(typeof w, 'function');
     6 assertEq(f, w);

mercurial