4 lines
162 B
Markdown
4 lines
162 B
Markdown
The easiest way to walk the object is to use recursion.
|
|
|
|
1. [The solution with innerHTML](sandbox:innerhtml).
|
|
2. [The solution with DOM](sandbox:build-tree-dom).
|