Why am I getting the error: \"Uncaught TypeError: self.myTest is not a function\"? How do I call a method from within another method in a javascript class?
class MyClass(){ constructor(){ this.init(); } init(){ const $this = this; this.doSomethigElse(); } doSomethingElse(){ console.log("It worked!"); } }