expand parameters

Conflicts:
	test/compress/harmony.js
This commit is contained in:
Fábio Santos
2015-04-13 01:26:26 +01:00
committed by Richard van Velzen
parent e8664e63ef
commit 9863f0efa3
5 changed files with 89 additions and 7 deletions

View File

@@ -607,6 +607,11 @@ function OutputStream(options) {
output.semicolon();
});
DEFPRINT(AST_Expansion, function (self, output) {
output.print('...');
self.symbol.print(output);
});
DEFPRINT(AST_Destructuring, function (self, output) {
output.print(self.is_array ? "[" : "{");
var first = true;