Created
April 22, 2019 18:02
-
-
Save HSchmale16/f428ebd3a744158a99a9ddd265b89301 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
class T { | |
constructor(x) { | |
this.x = document.getElementById(x); | |
x.addEventListener(x, this.test); | |
} | |
test = (x) => { | |
console.log(this, x); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment