Advanced JavaScript Tutorial in Hindi [Part 92] - ES6 Class, Object and Inheritance in JavaScript

Tech Gun
Youtube
Related Topic
:- Web Development Javascript

In this video i will talk about ES6 Class, Object and Inheritance in JavaScript. Classes are a template for creating objects. They encapsulate data with code to work on that data. Classes in JS are built on prototypes but also have some syntax and semantics that are not shared with ES5 class-like semantics. ES6 Classes formalize the common JavaScript pattern of simulating class-like inheritance hierarchies using functions and prototypes. They are effectively simple sugaring over prototype-based OO, offering a convenient declarative form for class patterns which encourage interoperability. Classes (as shipped in Chrome) support prototype-based inheritance, constructors, super calls, instance and static methods. 

Comments