Skip to content

Instantly share code, notes, and snippets.

@kevinchisholm
Created December 20, 2019 12:55
Show Gist options
  • Save kevinchisholm/5c686e741b97fc4743c3b897dff6b48d to your computer and use it in GitHub Desktop.
Save kevinchisholm/5c686e741b97fc4743c3b897dff6b48d to your computer and use it in GitHub Desktop.
addEventListener Example 3
body.removeEventListener('click', () => {});
// on each click of the page, you will STILL see: "The <body /> tag was clicked"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment