Ptarget
Bun

property

CloseEvent.target

readonly target: null | EventTarget

Returns the object to which event is dispatched (its target).

MDN Reference