Introduction to OOP in Javascript

Written by andresporras | Published 2020/04/21
Tech Story Tags: javascript | ecmascript-6 | oop | classes | object-oriented | tutorial | beginners | coding

TLDR Javascript used to be, just a few years ago, one of the most disliked languages by the community. ECMAScript 6 introduced in 2015, we have a modern syntax to create classes. Inheritance means that you can inherit methods and properties from a different class (or many different classes) Child classes will extend the behavior of its parent class. Encapsulation, polymorphism, abstraction and inheritance are four concepts in OOP languages. Never forget these four concepts: inheritance, encapsulation, and polymorphism.via the TL;DR App

no story

Published by HackerNoon on 2020/04/21