Or we could simply return when there is no node at all.

JAVASCRIPT
OUTPUT
Results will appear here.