MpreventDefault
Bun

method

CloseEvent.preventDefault

Sets the defaultPrevented property to true if cancelable is true.