new in his code because
Object.create thing and I really like it.
we can do this in OLOO style:
A huge benefit of this is that the model is easy to track.
Student is prototypically linked to
Person and we know that for sure because of
Object.create(Person) creates that link for us.
Object.create also allows us to do type checking easily with
Object.defineProperty, one can create an extendable object that is immutable. Meaning the only way to get an
instance of it is to call
Person.extend or something like that and it will return a new object linked to the Person object.