In the class org.thingml.compilers.javascript.SThingImplCompiler, line 176 there is:
int i = 0;
for (Parameter pa : f.getParameters()) {
if (i > 0)
builder.append(", ");
builder.append("\" + ");
builder.append(ctx.protectKeyword(pa.qname("_") + "_var"));
builder.append(" + \"");
}
In the class
org.thingml.compilers.javascript.SThingImplCompiler
, line 176 there is:In my point of view
i
is always equal to 0 :)