Sitelet https://github.com/BonsaiDen/JavaScript-Garden/issues/338
Skip to content

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

Description

@bichotll

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions