swc/ecmascript/minifier/tests/terser/compress/arrays/constant_join/output.js
강동윤 c6b22c57f8
feat(es/minifier): Implement minifier partially (#1302)
Co-authored-by: Fábio Santos <fabiosantosart@gmail.com>
2021-05-20 13:51:30 +09:00

20 lines
573 B
JavaScript

var a = "foobarbaz";
var a1 = "foo,bar,baz";
var a2 = "foonullbarnullbaz";
var a3 = "foo,bar,baz";
var a4 = "foo,,baz";
var a5 = "foo,,baz";
var a6 = "foo,,baz";
var b = "foo123bar";
var c = boo() + "foo123bar" + bar();
var c1 = "" + boo() + bar() + "foo123bar" + bar();
var c2 = "12foobar" + baz();
var c3 = boo() + bar() + "foo123bar" + bar() + "foo";
var c4 = "12foobar" + baz();
var c5 = [boo() + bar() + "foo", 1, 2, 3, "bar", bar() + "foo"].join();
var c6 = ["1,2,,,foo,bar", baz()].join();
var d = "foo-3bar-baz";
var e = [].join(foo + bar);
var f = "";
var g = "";