I'm just reading this documentation about Javascript 1.2, but I'm wondering which version of Javascript is being used in the most popular browsers.
http://www.tutorialspoint.com/javascript/javascript_nested_functions.htm
Wikipedia (or rather, the community on Wikipedia) keeps a pretty good up-to-date list here.