Mark As Completed Discussion

If so, we can recursively call a removeHelper method to recursively delete child nodes if found.

JAVASCRIPT
OUTPUT
:001 > Cmd/Ctrl-Enter to run, Cmd/Ctrl-/ to comment