To run this test, open another window/tab/whatever, load http://web.mit.edu/bzbarsky/www/testcases/javascript/setName.html in it, then click the button below. Observe what the alert says.