Thursday, September 12, 2013

Why are most properties in js public?

Why are most properties in js public?

Im new in js and i wonder why nearly all properties in js are public. I
come from C++ and there i only programmed with private properties and
access via getters and setters.

No comments:

Post a Comment