Is this post correct?
Can I set a global variable inline that is not within any function and use this variable anytime I choose so long as I don’t refresh the page?
For example, can I run a snippet which sets the value, so something in a popup, then run another snipper that used this global value.
Question
javascript noob Q - set global variables for current page
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.