Let's say i have 2 pages : test1.html and test2.html

Is it possible to declare a global javascript variable and assign a value on the page :test1.html, and then use this same variable on the page : test2.html.