Originally Posted by rnd me
i can see how with function hoisting and all one might think it wouldn't work, but it's neat how it works as expected, huh?
I have to say that it does not work for me (in IE9 or Chrome)
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.