diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-03-02 11:31:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-02 11:31:39 +0800 |
commit | fdc9b9413bfddc711fe6195bd4fd408ab1dfa95e (patch) | |
tree | 867fc780891c6e248a3510d9e34ac77b9914949d /test/compress/functions.js | |
parent | 40ceddb48a6ea8d6864667574fa9db37ccc9a6bf (diff) | |
download | tracifyjs-fdc9b9413bfddc711fe6195bd4fd408ab1dfa95e.tar.gz tracifyjs-fdc9b9413bfddc711fe6195bd4fd408ab1dfa95e.zip |
minor improvement to string optimisation (#1514)
- "" + "a" => "a"
- "" + a + "b" => a + "b"
- "a" + "" => "a" (improving on #45)
Diffstat (limited to 'test/compress/functions.js')
0 files changed, 0 insertions, 0 deletions