Skip to content

Instantly share code, notes, and snippets.

@tolmasky
Created February 16, 2010 01:48
Show Gist options
  • Select an option

  • Save tolmasky/305204 to your computer and use it in GitHub Desktop.

Select an option

Save tolmasky/305204 to your computer and use it in GitHub Desktop.
for (var object, index, e = new objj_fastEnumerator([1,2,3,4,5]); e.i < e.l || e.e() && e.i < e.l; object = e.o[e.i][0], index = e.o[e.i][1], e.i++)
{
console.log("index: " + object);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment