Function node: 'use strict'

#1

Does it make sense / is it recommended to put a use strict on top of a function node?
When doing so, I get a lot of warnings because of not defined variables like msg, flow etc.

#2

I don't think it is intended for you to use strict in the function nodes.

#3

You don't really need to since function nodes run in a Node.JS VM anyway. I don't think it will help. However, it won't do any harm either.

#4

Well.... It will do harm in that it will trigger all those warnings and cause concern for the user. So better not to use it inside a function node.

#5

Oops, sorry yes. Missed that. You are right as always.