Properties - jpjohnsonjr/learning-notes GitHub Wiki

An instance is an individual case of a data type. Every instance has additional data attached, known as a property. Example: Length:

console.log('Hello'.length);

This will return the length of the string, in this case, 5.

Return to Introduction-to-Javascript.