.closest()

For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.

event.result

The last value returned by an event handler that was triggered by this event, unless the value was undefined.