objects



Conceptual Aside – Classical vs Prototypal Inheritance Inheritance: One object gets access to the properties and methods of another object. Classical Inheritance: What’s currently best known and popular (C#/Java). It’s been done this way for a long time. Classical inheritance can be verbose Prototypal Inheritance: Is simple, flexible, extensible and […]

Understanding JS: Notes 05 (Object-Oriented Javascript and Prototypal Inheritance)


Computed member access operator aka []: person[‘firstname’] Member access operator aka dot . operator: person.firstname Object literals: using {} to define a new object (this is the preferred way rather than using new Object) Framework aside Namespace: a container for variables and functions, typically to keep variables and functions with […]

Understanding JS: Notes 4 (Objects and Functions)