Merge branch 'master' into harmony-v2.8.17

This commit is contained in:
alexlamsl
2017-03-28 22:03:46 +08:00
30 changed files with 2842 additions and 232 deletions

View File

@@ -904,7 +904,7 @@ function OutputStream(options) {
output.print("for");
output.space();
output.with_parens(function(){
if (self.init && !(self.init instanceof AST_EmptyStatement)) {
if (self.init) {
if (self.init instanceof AST_Definitions) {
self.init.print(output);
} else {