So, in firebug you can see all your javascript variables and whatnot. From DOM tab, I can even change the javascript variable value. But does the change really take the effect?
Is there any other way to change javascript variables? Is it a good idea to have javascript variables that might store (sort of) secure data?
Thanks! 
Edit: Yup, changing value from within firebug does have an effect on how your page will behave.
So, what’s a good practice to store secure variables in javascript? By secure, I don’t mean credit card #, just some id or something.