js/src/jit-test/tests/basic/bug642248.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 function test(makeNonArray) {
     2     function C() {}
     3     C.prototype = []
     4     c = new C();
     5     c.push("foo");
     6     return c.length
     7 }
     8 assertEq(test(true), 1);
     9 var a = [];
    10 var b = Object.create(a);

mercurial