You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, this means that private fields are visible when inspecting the object (e.g. using the console.dir method) and, therefore, aren't truly private.
I suggest moving the declaration of private fields to the scope of the containing anonymous function:
When declaring a private field, the resulting JavaScript is:
However, this means that private fields are visible when inspecting the object (e.g. using the console.dir method) and, therefore, aren't truly private.
I suggest moving the declaration of private fields to the scope of the containing anonymous function:
The text was updated successfully, but these errors were encountered: