how to pass global variable to function in nodejs code example Example: node.js save global variable global.number = 5;