Javascript inheritance - from abstract idea to actual code

I know how to inherit in C ++, vb (6-shame on me) and php

I have seen many examples and guides about javascript. but there is no simple explanation. What I need is a starting point that will leave me with the need to simply use syntax and usage.

hope i am clear enough. thank

+3
source share
2 answers

Crockford is king, so I highly recommend reading the link provided by @hvgotcodes

Since you asked for a practical implementation, I wrote an example showing a demonstration of the practical application of the OO paradigm in JS -

http://tikkunology.blogspot.com/2010/02/practical-object-oriented-javascript.html

,

+2

Source: https://habr.com/ru/post/1758032/


All Articles