js/src/jit-test/tests/jaeger/bug599488.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 /* Don't crash. */
     2 function foo(y) {
     3   var x = y;
     4   if (x != x)
     5     return true;
     6   return false;
     7 }
     8 assertEq(foo("three"), false);
     9 assertEq(foo(NaN), true);

mercurial