Hi All,
I'm surprised I didn't find anyone else to report this bug:
When using constants or variables in a function node with the same name both at the "On Start" and "On Message" section the editor throws an error message Cannot redeclare block-scoped variable
and does a red underline below the variables.
I tried "const", "let" and "var". The error will show up always.
Still I can save and successfully run the node so it's only cosmetical but it might be worth fixing.
Or is the whole thing intended behavior and I'm to blind to see the reason for it and that's why I can't find anyone else reporting that bug?