{
function mytestfun()
{
alert(mycolor);
}
function returnfun()
{
return "red";
}
var mycolor = returnfun();
mytestfun();
}
{
function mytestfun()
{
alert(mycolor);
}
function returnfun()
{
return "red";
}
var mycolor = returnfun();
mytestfun();
}