I thought I might have found the cause of the warning triangle. In javascript it is not recommended to use for .. in ..
for iterating an array, though in practice it may work. The recommended way is to replace, for example
for (var letter in msg.payload)
with
for (var letter=0; letter<msg.payload.length; letter++)
But unfortunately it appears that it is not that which is confusing the syntax checker. I have started a new thread for that issue to see if we can get to the bottom of it: "Too many errors" in function node, but works ok
1 Like