Fix double whitespace in js gencode.
@@ -71,6 +71,8 @@ public abstract class FunctionDeclaration extends Expression
}
if (isArrowFunction()) {
ctx.append(" => ");
+ } else {
+ ctx.append(" ");
}
if (isArrowFunction() && body() instanceof Expression) {
Expression exprBody = (Expression) body();
