CreateTreeText function(obj) explain, please?
You have an object with nested, you need to display it with the preservation of nesting through lists ul li
Recursive function building a tree \ nesting
Function createtree method takes two parameters, in which the selector stuff results function createTreeText and , actually, the object with the data that we are going to handle.
createTreeText directly builds a tree of \ nesting, loops through the items and if the item has no parent, it puts in the parent's child item