This answer on Object.create()
method in JavaScript in SO talks about differential inheritance. It goes on to say this :
This methods allows you to easily implement differential inheritance,
where objects can directly inherit from other objects.
As far as I know JavaScript always allowed objects to directly inherit from other objects via prototypal inheritance. There is no concept of a class in JavaScript. So what does differential inheritance really mean and why is it called so?
P.S: I had dropped a comment on that answer some time back but I didn't receive any replies. So wanted to check with the larger and awesome community of SO JavaScript users.
Copyright Notice:Content Author:「Geek」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/17771734/what-is-differential-inheritance-in-javascript