update global variable from a fucntion in nodeJS code example Example: node.js save global variable global.number = 5;