How to acces variable from another function? alert from function 1 takes the sum of the 2 variables from function 2
fun1();
function fun1() {
alert("var two + var three = " + two + three);
}
function fun2() {
var one = 1;
var two = 2;
var three = 3;
var four = 4;
}