Closed jogibear9988 closed 3 years ago
I'm trying translate an AST to Javascript Code.
I got to following Problem:
var a=[] for (var a=[];;){}
In the VaraibleDeclaration, I don't know if I need to apply a ";" at the end.
If I do it always, I can not add it in the for, but when in the for the first statement is no variable declaration, then it's wrong.
I'm trying translate an AST to Javascript Code.
I got to following Problem:
In the VaraibleDeclaration, I don't know if I need to apply a ";" at the end.
If I do it always, I can not add it in the for, but when in the for the first statement is no variable declaration, then it's wrong.