No-Library (pure JS), HTML, CSS, JavaScript
Mootools 1.4.5, HTML, CSS, JavaScript
jQuery 1.7.2, HTML, CSS, JavaScript
Do you spot the "obvious" result of those tests?
How to add a function to a prototype and then use it.
This is a little test to demonstrate, how one should add closures in a loop to avoid unexpected behaviour.