Skip to content

Instantly share code, notes, and snippets.

@vetri02
Created August 21, 2012 10:04
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 vetri02/3414135 to your computer and use it in GitHub Desktop.
Save vetri02/3414135 to your computer and use it in GitHub Desktop.
for loop in JS using special characters
var l = +!+[];
for(var i = +[];i <= !+[]+!+[]; i++){
l = l+(+!+[]);console.log(l);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment