Function node: 'use strict'


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.


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


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.


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.


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