Learn Object-Oriented Programming in JavaScript

Learn Object-Oriented Programming in JavaScript

Learn Object-Oriented Programming in JavaScript
Learn Object-Oriented Programming in JavaScript

Learn Object-Oriented Programming in JavaScript

Learn to write cleaner, more modular, and more scalable code in JavaScript by gaining mastery of Object Oriented Programming (OOP).

You'll start with the basics of object-oriented programming and build up to more advanced concepts such as prototypal inheritance, prototype chaining, method overriding and mixins. 


Along the way, you'll learn how each concept applies to JavaScript's sometimes unique way of handling things.

You'll also see how various JavaScript features make it particularly convenient for OOP, with particular emphasis on changes introduced in ES6.

This course is filled with hands-on coding challenges, playgrounds, snippets, and illustrations to keep things interactive.

Contents

1. Introduction

  • What is Object-Oriented Programming?
  • OOP in JavaScript vs other languages
  • ES6 vs ES5
  • Quiz
2. Objects in JavaScript
  • What are objects?
  • Creating an object literal
  • Accessing Object Properties
  • Setting & Deleting Properties
  • Methods in Objects
  • Get & Set
  • Quiz
  • Exercise 1: Let's Shop
  • Exercise 2: Let's iterate!
  • Exercise 3: How much is the Bill?
  • Exercise 4: Discount? Wow
3. Functions as Objects
  • Objects or Constructor Functions?
  • Constructor Functions
  • Object Instances
  • Additions in Constructor Functions
  • Methods in Constructor Functions
  • Prototype Objects
  • Using Prototype Objects
  • Data Encapsulation in ES5
  • Quiz
  • Exercise 1: Sum of Squares
  • Exercise 2: Calculator
  • Exercise 3: Calculate the Student's Total Marks
4. Classes
  • Implementing Classes
  • Class Methods
  • Protecting Properties
  • Static Methods
  • Quiz
  • Exercise 1: Time to Go Shopping!
  • Exercise 2: Expired or Not?
5. Inheritance
  • Prototype Property
  • Prototypal Chaining
  • Prototypal Inheritance in Function Objects
  • Class-based Inheritance in ES5
  • Inheritance in ES6
  • Overriding Methods & Properties
  • Mixins
  • Quiz
  • Exercise 1: Who's the Teacher?
  • Exercise 2: Finding the Type of Triangle
  • Exercise 3: Inheritance with Cars
https://www.educative.io/courses/learn-object-oriented-programming-in-javascript?aff=xDzJ

Share This :
Santosh Kumar

We are sharing the knowledge for free of charge and help especially third world countries who can create a simple blog and start making money from own blog. so we have launched this site. Facebook | Twitter | Pinterest | LinkedIn