preventDefault

Bun

Symbol

CloseEvent.preventDefault

Sets the defaultPrevented property to true if cancelable is true.