How to check if a node is a descendant of another node in Javascript ...

How to check if a node is a descendant of another node in Javascript ...

More to explore

Based on this image's title: “How to check if a node is a descendant of another node in Javascript ...