Last active
September 26, 2019 07:21
-
-
Save AkashRajvanshi/95892e37df1d89ff0711a028d1a09aea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const button = document.querySelector('button') | |
button.addEventListener('click', function () { | |
console.log(this) // button | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment