Answers for "how to avoid passing the same argument to function inside function and access gloablley in javascript"

33

javascript define global variable

window.myGlobalVariable = "I am totally a global Var"; //define a global variable
var myOtherGlobalVariable="I too am global as long as I'm outside a function";
Posted by: Guest on August-02-2019

Code answers related to "how to avoid passing the same argument to function inside function and access gloablley in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language