UglifyJS/lib
David Glasser b1febde3e9 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-07-18 15:39:22 +03:00
..
ast.js Don't swap binary ops when "use asm" is in effect. 2013-06-07 12:52:09 +03:00
compress.js Don't swap binary ops when "use asm" is in effect. 2013-06-07 12:52:09 +03:00
mozilla-ast.js Workaround for missing prefix in UnaryExpression generated by Esprima 2013-04-29 15:03:52 +03:00
output.js Fix output for arrays whose last element is a hole: [1,,] 2013-07-18 15:39:22 +03:00
parse.js Revert previous patch, it was no good. 2013-07-15 11:59:23 +03:00
scope.js Set "global" on undeclared SymbolDef-s 2013-05-22 13:08:19 +03:00
sourcemap.js line numbers start at 1 2012-10-02 16:39:53 +03:00
transform.js Apply transformer to AST_VarDef's name 2013-07-14 13:24:09 +03:00
utils.js Only compress code in new Function if all arguments are strings. 2013-05-14 18:36:31 +03:00