JavaScript private fields are not properties
A private field cannot be accessed with bracket notation or reflection. Use declared methods or public accessors instead.
Good to see "JavaScript private fields are not properties" written down. Handy reference for anyone working with javascript / classes.
Informative
- @narwhalix▲ 4
Handy
Remarkable
Resolved
Expert
- @imsa-mehta▲ 3
Specific and to the point: "JavaScript private fields are not properties". Worth a look if you touch javascript / classes.
Good to see "JavaScript private fields are not properties" written down. Handy reference for anyone working with javascript / classes.
- @sohmeh▲ 2
"JavaScript private fields are not properties" is a useful thing to know about with javascript / classes. Thanks for sharing it.
- @mrnarwhal55▲ 2
Solved
- @aarya-mehta▲ 2
Clear note on javascript / classes. "JavaScript private fields are not properties" is the kind of detail that is easy to overlook.
- @deneil2121▲ 2
Reasonable
- @ohmshawas23▲ 2
Relevant
Goldmine
Gamechanger
Sound
Masterful
- @saltysamm▲ 1
Good to see "JavaScript private fields are not properties" written down. Handy reference for anyone working with javascript / classes.
- @hk3narwhal▲ 1
Noted
- @dearsohum▲ 1
"JavaScript private fields are not properties" is a useful thing to know about with javascript / classes. Thanks for sharing it.
- @ohmshawas23▲ 1
Saved
Wonderful
"JavaScript private fields are not properties" is a useful thing to know about with javascript / classes. Thanks for sharing it.
Agreed