How to get a local variabel to be set into a global one and use it in a secondary function? function 1 will be called in HTML initially then function 2 will be called...
function test1(){
var test1 = 1;
}
function test2(){
var test2 = test1 + 3;
}