js/src/jit-test/tests/basic/bug651451-2.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.

michael@0 1 var arr = [1, 2, 3, 4, 5];
michael@0 2 arr.length = 100;
michael@0 3 arr.pop();
michael@0 4 assertEq(arr.length, 99);
michael@0 5 arr.pop();
michael@0 6 assertEq(arr.length, 98);

mercurial