me when
school = "tomorrow"
if school == "tomorrow":
print("NOOOOOOOOOO")
elif school == "next time":
print("YESSSSSSSSS")
else:
print("UNDEFINED.")
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