This is a solution to JS Developer test task
- Create a tree view of the given data in JSON format
- Indent each tree level
- Node children should be sorted by the
sorthead
field - Line format: name (price)
<svelte:self>
built-in element that allows a component to contain itself recursively