Skip to content

Instantly share code, notes, and snippets.

@lepture
Created March 9, 2013 10:14
Show Gist options
  • Save lepture/5123734 to your computer and use it in GitHub Desktop.
Save lepture/5123734 to your computer and use it in GitHub Desktop.
var data = {
'a': ['a1', 'a2'],
'a1': ['a11'],
'a2': [],
'a11': ['a111', 'a112']
}
/*
* a
* |- a1
* |- a11
* |- a111
* |- a112
* |- a2
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment