UglifyJS/lib
David Glasser bb3eb65015 Fix output for arrays whose last element is a hole: [1,,]
1529ab96 started to do this (by considering holes to be separate from
"undefined") but it still converted
   [1,,]    (length 2, last element hole, trailing comma)
to
   [1,]     (length 1, trailing comma)

Unfortunately the test suite doesn't really make this clear: the new test here
passes with or without this patch because run-tests.js beautifys the expected
output (in "make_code"), which does the incorrect transformation! If you make
some manual change to arrays.js to make the test fail and see the INPUT and
OUTPUT, then you can see that without this fix, [1,,] -> [1,], and with this fix
it stays [1,,].
2013-02-20 12:00:55 -06:00
..
ast.js Fix output for arrays containing undefined values. 2013-01-17 11:36:10 +02:00
compress.js Fix compressing do {...} while (false) 2013-02-19 18:12:19 +02:00
mozilla-ast.js fix end tokens in spidermonkey ast import 2012-10-13 11:37:58 +03:00
output.js Fix output for arrays whose last element is a hole: [1,,] 2013-02-20 12:00:55 -06:00
parse.js Fix end token for Assign nodes 2013-02-01 13:32:15 +02:00
scope.js Fix handling of constants 2013-02-06 11:15:31 +02:00
sourcemap.js line numbers start at 1 2012-10-02 16:39:53 +03:00
transform.js fix #51 2012-11-18 17:37:45 +02:00
utils.js When hoisting variables, try to merge in assignments that follow. 2012-12-05 12:30:25 +02:00