DEV Community

Discussion on: Introduction to OOP in Javascript

Collapse
 
copy_pasta_chef profile image
Essien

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."

Thanks.

Collapse
 
ndiecodes profile image
Ndifreke Friday

no other reason

thanks for noticing d typo.