BonsaiDen/JavaScript-Garden

Difference between Object.create(), previousFunction.prototype and new Function() when applying inherance

bichotll opened this issue · 0 comments

Hi,
I think this is a good thing to point out on the "The prototype" section.
At least as a note on a side of "The first major difference is that inheritance in JavaScript uses prototype chains.".

For more information:
http://stackoverflow.com/questions/4166616/understanding-the-difference-between-object-create-and-new-somefunction#answer-4166723

I can create a pull request for that in en/es if accepted.