A weird JS error

Why is this for operator an error in “Code in JavaScript”?

Just tried to replicate this, but it works for me:

What version are you on?

Weirdly, I myself can’t replicate it, too, for the same version 1.115.3 (or rather a Git version).

Depends on what is selected “Run for each item” or “Run for all items” ?

No, this error is not repriseable both “Run for each item” or “Run for all items”.

Maybe synchronization between the text area and the text behind broke. I first types, const i rather than let i, then edited. Maybe this influenced.

1 Like