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

JAVASCRIPT
OUTPUT
Results will appear here.