Private class fields and brand checks: get, put, and in operator support for #field syntax.
Summary
Functions
Attaches a private brand to an object or constructor.
Returns the private brands attached to a target.
Defines or overwrites a private field on an object or constructor.
Checks that a target carries a private brand.
Returns whether a target has a private field.
Creates an internal symbol for a JavaScript private name.
Functions
Attaches a private brand to an object or constructor.
Returns the private brands attached to a target.
Defines or overwrites a private field on an object or constructor.
Checks that a target carries a private brand.
Returns whether a target has a private field.
Creates an internal symbol for a JavaScript private name.