Why is it that people are unable to access properties directly from the User class, but instead need to access them nested through proto ?!
class User {
constructor(name, age) {
this.name = name;
this.age = age;
}
static a = 12;
}
class User2 extends User {}
let people = [
new User2('Vasia', 20),
new User2('Peter', 19),
new User2('Misha', 21),
]
console.dir(User2.a) // 12
console.dir(people[1].a) // ?????