What is inherit in javascript? can give me some example? thanks


#1

what is inherit in javascript? can give me some example? thanks.


#2

== the Book ==
= https://developer.mozilla.org/en-US/docs/Web/JavaScript/Inheritance_and_the_prototype_chain

== discussions / opinions ==
google search
javascript inheritance explained site:stackoverflow.com
= http://stackoverflow.com/questions/572897/how-does-javascript-prototype-work?rq=1


#3

thank you for answer my question 。the inherit in javascript is same as that in c++?
how did it display virtual function like c++ ?
and can it's function be overload?