Skip to content

Glossary: Software Design Patterns in JavaScript

Private field (#)

Also written: #private, #listeners

A class field whose name starts with #, which only that class's own methods can touch. JavaScript enforces it.

Where the book teaches it

Related terms

Class field