Created
August 30, 2011 10:48
-
-
Save vstarck/1180648 to your computer and use it in GitHub Desktop.
Vacio legal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Iteracion implicita | |
(new Array(101)).toString().replace(/,/g, function(m, i) { | |
console.log(i) | |
}); | |
// Eval is evil! | |
eval((new Array(101)).toString().replace(/,/g, function(m, i) { | |
return ';(function() {console.log('+i+')})()'; | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment