me when I have
class Foo { constructor(){} bar() { console.log("the"); } }
and I
var baz = new Foo(); baz.bar();
and it doesn’t work
EDIT: it’s because baz in my code was named window and window is reserved