DEV Community

Discussion on: Introduction to OOP in Javascript

copy_pasta_chef profile image

Thanks for the write-up Nddy.

In your third example, was the reason you chose to call description() in bio() just to show us that you can call class methods in other methods of the same class or was there another reason?

Also, I think you have a typo here: "I told you they were not scary, getters get's property value and setters changes our changes property value."


ndiecodes profile image
Ndifreke Friday Author

no other reason

thanks for noticing d typo.