Javascript object constructor and prototype

Every web developer¬†knows javascript does not support classical inheritance, we use prototype of functions and objects to fill that gap. It’s called prototypal inheritance. New version of javascript has implemented classical inheritance may be a keyword “class” but actually it’s just a simulation. Under the hood it works using prototype. So it would be better to clear our concept about this confusing prototype.
Continue reading “Javascript object constructor and prototype”