The unload() function is used to bind a handler function to the unload event of each matching element. In addition, you can also pass some additional data to the event handling function.
The unload event will be triggered when the page exits. This event is mainly used for window object,
,