aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/output.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output.js b/lib/output.js
index b9637929..6c8f15aa 100644
--- a/lib/output.js
+++ b/lib/output.js
@@ -656,7 +656,7 @@ function OutputStream(options) {
output.print("for");
output.space();
output.with_parens(function(){
- if (self.init) {
+ if (self.init && !(self.init instanceof AST_EmptyStatement)) {
if (self.init instanceof AST_Definitions) {
self.init.print(output);
} else {