Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Javascript Question

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?

Name: Anonymous 2010-12-15 23:25

>>1
Wouldn't it have been faster to just try it and see?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List