DEV Community

Discussion on: JavaScript and Object-Oriented Programming

avalander profile image

Still, it's entirely useless, you should add a getter or something to avoid confusing people :)

Thread Thread
rainerhahnekamp profile image
Rainer Hahnekamp Author

True, have added a getter method. Thanks for the input to both of you!