Reddit - Senior FrontEnd Engineer` - Tech Screening

Question was around creating UI around Comment Replies using Vanilla Javascript. Could use React if you are not too comfortable with Vanilla Javascript.
1 - Do some Object Manipulation of the data obtained from server
2- use the manipulated data to display replies for comment on the UI