Created
April 4, 2016 17:01
-
-
Save ivolivares/a1a617bfda02876cf1363c13e2368529 to your computer and use it in GitHub Desktop.
Revisions
-
Iván Olivares R created this gist
Apr 4, 2016 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ getRand = -> Math.random().toString(36).substring(7) equals = [] for i in [0..2000] rand = getRand() console.log "Evaluating...#{rand}" equals.push rand if rand in equals console.log if equals.length then equals else 'Nothing equal'