Sounds like a stupid question, but I'm new to all this. When trying to figure out how to write "code" within a function node, I look primarily for examples in Java & JS, yet 99% of these "cut and paste" codes throws a fit and doesn't work. Where can I find the rules/syntax for coding within a N-R function node? When searching for examples, what language should I be looking at?
To be more specific it is JavaScript running on node.js. Most general JS examples are talking about running in a browser so it is often best to add nodejs as part of any search.