Tests whether declaring a variable inside a loop, rather than declaring outside and just assigning values, is more performant
Ready to run.
|Declare in a loop with one statement
|Declare outside loop
|Declare in a loop with multiple statements
You can edit these tests or add more tests to this page by appending /edit to the URL.