I found this in my RSS Reader this morning and thought it was a good reminder of how scope works in JavaScript.
http://madebyknight.com/javascript-scope/
I scored a 6 out of 7, because I failed to pay attention on the 2nd question![]()
| SitePoint Sponsor |


I found this in my RSS Reader this morning and thought it was a good reminder of how scope works in JavaScript.
http://madebyknight.com/javascript-scope/
I scored a 6 out of 7, because I failed to pay attention on the 2nd question![]()





Me too! And that was after being shown to pay close attention to it! Again I'm shown I should read the whole of the OP!
LiveScript: Putting the "Live" Back into JavaScript
if live output_as_javascript else output_as_html end if




6-1. Failed on 3, Global Variables 1.
Chuck Norris is so tough, mosquitos ask for permission before they bite him
Bookmarks