Skip to content

Glossary: Software Design Patterns in JavaScript

Class field

Also written: class fields, field

A line in a class body, such as name = "ups", that sets a property on every new instance.

Where the book teaches it

Related terms

Private field (#)Instance