Accessing private properties from an external function with this
parameter
#18281
Labels
Duplicate
An existing issue was already created
If I have a class with a private property:
I would expect that having a function with the
this
parameter as the class I could access to the private property of the class:Since I'm specifying where the function is running, shouldn't it be treated as if it's "inside" the class?
The text was updated successfully, but these errors were encountered: