Search⌘ K
AI Features

Reference Properties

Explore reference properties and unidirectional associations in JavaScript. Understand how these properties represent relationships between object types and how to implement them within your front-end application's model layer using plain JavaScript.

We'll cover the following...

What are reference properties?

A property defined for an object type or class is called a reference property if its values reference an object of another or of the same type. For instance, the Committee class shown below has a chair reference property with values that are references to objects of the type ClubMember.

Associations

An association classifies the relationship between object types. For instance, the association Committee -has- ...