JavaScript Encontre pai com classe
document.querySelector("p").closest(".near.ancestor")
Poor Pollan
document.querySelector("p").closest(".near.ancestor")
Object.getPrototypeOf(instance.constructor).name // == "Parent"