• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Block Explorer 
  • Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Hive Proposals 
  • OpenHive Chat 
  • Developer Portal 
  • Hive Whitepaper 
  • Privacy Policy
  • Terms of Service
logo
  • Posts
  • Proposals
  • Witnesses
  • Our dApps
LoginSign up

How Prototypes works in JavaScript

pedramcode (36)in #javascript • 8 years ago (edited)

Inheritance in javascript works based on prototype delegations.
Prototypes is simple inheritance model that works based on delegation.
Class layer in javascript uses prototype under the hood.
read more at: https://medium.com/@pedramphp/javascript-prototypes-e9afe15e3990

#prototypes #code #js
8 years ago in #javascript by pedramcode (36)
$0.00
    5 votes
    • ubg
    • pedramcode
    • sagarvikani
    • sassal
    • kuttmargo
    Reply 0
    Sort:  
  • Trending
    • Trending
    • Votes
    • Age