I want to know how can i do it?
e.g.
function get() {
   alert(s);
}
function declare() {
   var s = "Blah";
   get();
}
But I get that s is not defined.
I know we can do by passing it as argument and also setting it as global variable but how without both of them?
 
    