Javascript How To Transform Indented List To Table Stack Overflow

Javascript How To Transform Indented List To Table Stack Overflow