• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Switch to Night Mode
  • Change Account Password 
  • Vote for Witnesses 
  • Steem Proposals 
  • Developer Portal 
  • Steem Bluepaper 
  • SMT Whitepaper 
  • Steem Whitepaper 
  • Privacy Policy
  • Terms of Service
Steemistry HomeSteemistry
LoginSign up

How Prototypes works in JavaScript

pedramcode (36)in #javascript • 10 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
10 years ago in #javascript by pedramcode (36)
$0.00
    5 votes
    • + ubg
    • + pedramcode
    • + sagarvikani
    • + sassal
    • + kuttmargo
    Reply 0

    New to Steemistry?

    • Welcome Guide

    Promoted Posts

    • Reblog: A Working Prototype of Reblog with Comments@michelangelo3
    • Ten new cards are coming to animalCards [burnsteem100]@remlaps-lite
    • EcoBurn: Post #572@ecoburn
    View all promoted posts

    Pinned Communities

    • CCC
    • Art & Artists
    • SCB Monkey Business
    • Tales & Stories
    • Steem for Betterlife
    • Trending Communities
    • SteemitCryptoAcademy
    • Newcomers' Community
    • আমার বাংলা ব্লগ
    • Steem Alliance
    • Korea • 한국 • KR • KO
    • Beauty of Creativity
    • AVLE 일상
    • Tron Fan Club
    • Steem For Lifestyle
    • Comunidad Latina
    • Steem Venezuela
    • STEEM CN/中文