aboutsummaryrefslogtreecommitdiff
path: root/test/compress/loops.js
diff options
context:
space:
mode:
authoralexlamsl <alexlamsl@gmail.com>2017-02-18 19:05:11 +0800
committeralexlamsl <alexlamsl@gmail.com>2017-02-21 13:29:57 +0800
commit100307ab31e89075a5b0e56d47597a0525dd43a6 (patch)
tree64b64c7d372d17caac14f441fb0790bde1be3703 /test/compress/loops.js
parent148047fbbf1951a52e69170edf510c59b3899e6c (diff)
downloadtracifyjs-100307ab31e89075a5b0e56d47597a0525dd43a6.tar.gz
tracifyjs-100307ab31e89075a5b0e56d47597a0525dd43a6.zip
fixes & improvements to [].join()
fixes - [a].join() => "" + a - ["a", , "b"].join() => "a,,b" - ["a", null, "b"].join() => "a,,b" - ["a", undefined, "b"].join() => "a,,b" improvements - ["a", "b"].join(null) => "anullb" - ["a", "b"].join(undefined) => "a,b" - [a + "b", c].join("") => a + "b" + c closes #1453
Diffstat (limited to 'test/compress/loops.js')
0 files changed, 0 insertions, 0 deletions