The UIEvent.view read-only property returns the WindowProxy object from which the event was generated.
UIEvent.view
MDN Reference