• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Switch to Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Steem Proposals 
  • Developer Portal 
  • Steem Bluepaper 
  • SMT Whitepaper 
  • Steem Whitepaper 
  • Privacy Policy
  • Terms of Service
Homeby Witness Moecki
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