Skip to content

Conversation

@DavidVujic
Copy link
Contributor

The "Use getters and setters" section describes that it is hard to enforce the pattern, because JavaScript don't have the public and private keywords. I think this is actually an issue with JavaScript classes. With functions, properties can easily be private.

Described in #180

@ryanmcdermott ryanmcdermott merged commit b82b63b into ryanmcdermott:master Feb 2, 2017
@ryanmcdermott
Copy link
Owner

Thanks David, this is a nice improvement! 🎉

@DavidVujic DavidVujic deleted the getters-setters branch February 4, 2017 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants