How can I pass a value from one function to another function which has object and without declaring a global variable in JS? [duplicate]
solved How can I pass a value from one function to another function which has object and without declaring a global variable in JS? [duplicate]