Thanks for the reminder how inheritance works in JS.
I'm glad that with ES2015 we have classes and defining inheritance between objects is now straightforward, no need to touch prototypes anymore.
Thank you for the comment, I really appreciate it. I agree, the new class system in JavaScript is so useful. The prototype chain can get so complicated when manually trying to manipulate objects.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for the reminder how inheritance works in JS.
I'm glad that with ES2015 we have classes and defining inheritance between objects is now straightforward, no need to touch prototypes anymore.
Thank you for the comment, I really appreciate it. I agree, the new class system in JavaScript is so useful. The prototype chain can get so complicated when manually trying to manipulate objects.