Skip to content

Instantly share code, notes, and snippets.

@aarongustafson
Created December 6, 2009 01:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aarongustafson/249964 to your computer and use it in GitHub Desktop.
Save aarongustafson/249964 to your computer and use it in GitHub Desktop.
var reference = my.complicated.object.reference;
for ( var i=0; i<100; i++ )
{
doSomething( reference, i );
}
var
reference = my.complicated.object.reference,
i = 100;
while ( i-- )
{
doSomething( reference, i );
}
for( var i=0; i<100; i++ )
{
doSomething( my.complicated.object.reference, i );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment