Objects and prototypes in JavaScript

Factory Pattern

Factory pattern

Constructor Pattern

Constructor pattern

Prototype Pattern

Prototype pattern
personProto prototype details

Dynamic Prototype pattern

Dynamic prototype pattern

Using Object.create() method

Object.create()

Inheritance in JavaScript

Prototype chain
function expression and prototype chain
Object hierarchy

--

--

--

Full Stack developer, avid photographer and cyclist, Fitness trainer. contact: reeshabh.choudhary@gmail.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to set up and personalize your GithubMyProfile application.

Generating Image Thumbnails using Sharp Library in NodeJS

Implementing JWT Authentication to your API Platform application

useState hook vs this.state and this.setState in React and React-Native.

React Native — React Navigation

How to build chrome extensions

11 Funny Excuses That Programmers Use Daily

Man hiding while sipping a beverage

Lesser-Known JavaScript Hazards

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Reeshabh Choudhary

Reeshabh Choudhary

Full Stack developer, avid photographer and cyclist, Fitness trainer. contact: reeshabh.choudhary@gmail.com

More from Medium

Trapping Focus with Angular CDK

JavaScript Objects

Javascript ES6 Modules

Javascript Array Method .find()