Skip to content

Instantly share code, notes, and snippets.

@weizman
Last active January 30, 2019 22:12
Embed
What would you like to do?
run this code in devtools console and than try to shutdown the tab - see how Chrome suddenly respects `debugger;` statement!
// run this code in devtools console and than try to shutdown
// the tab - see how Chrome suddenly respects `debugger;` statement!
window.onunload = (e) => {
debugger;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment