Name: Anonymous 2010-12-15 23:16
new programmer here, just got a simple question.
If I have two function, lets say
function one()
{
var something = 1;
two();
}
and
function two()
{
...
}
will function two be able to use the something variable or is it only limited to inside one?
If I have two function, lets say
function one()
{
var something = 1;
two();
}
and
function two()
{
...
}
will function two be able to use the something variable or is it only limited to inside one?