Variabel lokal dan global

$(function(){
    value = "10";
});
value; // "10"
Nutty Nightingale