Declaring variables inside loops
Tests whether declaring a variable inside a loop, rather than declaring outside and just assigning values, is more performant
var LENGTH = 3;
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
Compare results of other browsers
You can edit these tests or add even more tests to this page by appending
/edit to the URL. Here’s a list of current revisions for this page: