logout

logout logs out the current session. afterward, the current session will no longer be logged in

Format:

logout()

Parameters:

This function does not take any parameters.

Examples

 if (confirm("Are you sure you want to log out?")) {
      logout()
 }