Created
January 9, 2013 18:00
-
-
Save designfrontier/4495292 to your computer and use it in GitHub Desktop.
Some nasty and fascinating JS recursion or your viewing pleasure. Paste in web inspectors js console and then work your way down through the arrays...
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 characters
t = ['john']; | |
c = ['daniel','joe']; | |
t.push(c); | |
c.push(t); | |
c; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For more fun add:
JSON.stringify(c)