diff options
author | Mihai Bazon <mihai@bazon.net> | 2012-12-21 21:04:15 +0200 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2012-12-21 21:04:35 +0200 |
commit | 31c4a37e37acc1e3ddd44c6c23f61a330e7b1484 (patch) | |
tree | a989ae57ea7c4fdf0a529210239a73318b64ab42 /lib/compress.js | |
parent | 08219f0cee9d0be355daa57f873465765d36cd81 (diff) | |
download | tracifyjs-31c4a37e37acc1e3ddd44c6c23f61a330e7b1484.tar.gz tracifyjs-31c4a37e37acc1e3ddd44c6c23f61a330e7b1484.zip |
Optimize new Array(1, 2, 3) → [1, 2, 3]
Close #74
Diffstat (limited to 'lib/compress.js')
-rw-r--r-- | lib/compress.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js index 9387a821..0f3a795c 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -1601,7 +1601,7 @@ merge(Compressor.prototype, { case "Function": case "Error": case "Array": - return make_node(AST_Call, self, self); + return make_node(AST_Call, self, self).transform(compressor); } } } |