Nadim Anwarblog.nadim.in·Jul 11, 2024How Prototype Chaining Works in JavaScript: An Easy ExplanationPrototype chaining is a fundamental concept in JavaScript that enables inheritance and the sharing of properties and methods between objects. It's essential for creating flexible and reusable code. In this blog, we'll dive deep into prototype chainin...37 readsJavascriptJavaScript
Carolin Jamesbreakthecode.hashnode.dev·Jun 5, 2024Inheritance in JS Simplified using objectsIn this article we would see how we can implement inheritance through objects Lets create a parent prototype object : const staffProto = { init(firstName, lastName) { this.firstName = firstName; this.lastName = lastName; }, empDetails()...Everything you need to know about JS!js
Syed Kumail Rizvirizvicodes.hashnode.dev·Aug 26, 20235 Interesting JavaScript Object MethodsWant command over JS, gain knowledge of Objects We all know that in JavaScript almost everything is an object. These Objects can be considered as a fundamental part of the language. They are versatile and flexible, making them a pivotal element in m...3 likes·73 readsJavaScript
Darth Byter8bytes8.hashnode.dev·Jul 15, 2023Exploring Prototypes in JavaScript: A Reflective Journey of LearningAs a developer, my journey of exploring the language's features and concepts has been both enlightening and challenging. One particular aspect that fascinated me was prototypes, which play a crucial role in inheritance and code reuse. I will share my...#javaScriptPrototypes
Ankit Bajpaiankitbajpai1607.hashnode.dev·Jun 18, 2023Creating Custom Prototype MethodsJavaScript is a widely used programming language for web development, and one of its powerful features is the ability to extend built-in objects using prototypes. Prototypes allow you to add custom methods and properties to existing JavaScript object...35 reads#javaScriptPrototypes
Raj Sahurajblog.hashnode.dev·Feb 14, 2023Javascript Prototype: An Object-Oriented Programming IntroductionIntroduction JavaScript is an object-based language, meaning that everything in JavaScript is an object. To understand how Prototype works in JavaScript, we need to understand what an object is. An object is a collection of properties, and a property...2 likesJavaScript
Salonisaloni1.hashnode.dev·Feb 2, 2023Understanding Prototype and Prototype Chaining in JavaScriptLet's understand Prototype by taking a goal to achieve in mind. Suppose you want to build something like React, ViewerJS, String Library, or a classic Array Library or you want to do some DOM Manipulation. I'm talking about big steps here, like build...79 reads#javaScriptPrototypes
Vaibhav Tyagivaibhavtyagi.hashnode.dev·Dec 5, 2022Object-oriented programming (OOP) With JavascriptWhat is Object-Oriented programming (OOP)? Object-oriented programming (OOP) is a programming paradigm (Style of code, “how” we write and organize code) based on the concept of objects. We use objects to model (describe) the real-world (your phone)...77 readsJavaScript
Shivam Pandeyrisehoneix.hashnode.dev·Sep 13, 2022Prototypes In JavaScriptWhat is Prototypes In JavaScript ?🥱 And What is Prototype Chain Prototype is a Machanism in JavaScript Which help's Object's to inherit the Features. Prototype itsSelf an Object So This prototype will have it's Own Prototype, Making What's Called ...2 likes·47 readsiwritecode