Classes in JavaScript — then and now

Constructors and prototypes

function Human(name, age) {
this.name = name
if (age) {
this.age = age
}
}