JavaScript

var Location Does Not Matter

var scope = "global";
function checkloc() {
        alert ("1-" + scope);
        var scope = "local";
        alert ("2-" + scope);
}
checkloc()

José M. Vidal .

20 of 65