educative.io

Learn Object-Oriented Programming in JavaScript (Educative)


Inheritance - Class-based Inheritance in ES5 This lesson teaches how class-based inheritance is implemented in the ES5 version by using constructor functions. Inheritance - Mixins This lesson teaches the concept of mixins in JavaScript, their syntax, and their implementation using an example. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/5837707630608384). Inheritance - Exercise 1: Who's the Teacher? In this exercise, you have to implement prototypal inheritance between two objects, Person and Teacher. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/4823119048998912). Inheritance - Exercise 3: Inheritance with Cars In this exercise, you need to implement inheritance between two classes, Vehicle and Car. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6738795930058752). Introduction - OOP in JavaScript vs other languages This lesson introduces OOP in JavaScript and compares it to other languages by going over the advantages/disadvantages of both. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/5629885923983360). Inheritance - Exercise 2: Finding the Type of Triangle In this exercise, you will implement class-based inheritance using the two constructor functions Shape and Triangle. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/5092426450468864). Functions as Objects - Using Prototype Objects This lesson teaches us how to add properties and methods to an object prototype. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/4887295607963648). Functions as Objects - Exercise 3: Calculate the Student's Total Marks In this exercise, you have to calculate a student's total marks using the concept of prototypes in constructor functions. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6368229238767616). Inheritance - Inheritance in ES6 This lesson introduces the keywords extends and super and explains their use in implementing inheritance in JavaScript. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/5697178397835264). Inheritance - Quiz A short quiz to test your understanding of Inheritance in JavasScript. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/5637942460547072). Functions as Objects - Exercise 1: Sum of Squares In this challenge, you need to implement a method which squares the passed variables and returns the sum. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/5380048884334592). Functions as Objects - Data Encapsulation in ES5 This lesson explains the steps to protect properties and teaches us how to access these protected properties. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6034811330232320). Classes - Implementing Classes This lesson introduces the ES6 version of classes, their syntax, and teaches us how to create new object instances using a class. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6043480805605376). Classes - Quiz A short quiz to test your understanding of Classes in the ES6 version of JavaScript. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6184140229574656). Inheritance - Prototypal Inheritance in Function Objects This lesson teaches us the concept of prototypal inheritance in function objects as well as property shadowing. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6357410484584448). Inheritance - Prototype Property This lesson explains the prototype property of objects and what __proto__ is used for by using an example. Functions as Objects - Additions in Constructor Functions This lesson teaches us how to add new properties to constructor functions. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6601474014445568). Classes - Exercise 1: Time to Go Shopping! In this lesson, you have to make a class called Product and implement various methods in it. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6271897887047680). Objects in JavaScript - Exercise 1: Let's Shop In this exercise, you will be required to define properties in an object. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/5149595619295232). Introduction - What is Object-Oriented Programming? This lesson gives a short introduction to object-oriented programming. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6378079561711616). Objects in JavaScript - Exercise 2: Let's iterate! In this exercise, you will be required to iterate through the properties of the object created in the previous lesson. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/4686170074120192). Inheritance - Overriding Methods & Properties This lesson teaches us how to override methods and properties in both the ES5 and ES6 versions of JavaScript. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/5720124529049600). Objects in JavaScript - Methods in Objects In this lesson, we will learn about methods in objects, how to declare them, and how to use the "this" keyword to set and get values in methods. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/4851422833147904). Functions as Objects - Objects or Constructor Functions? This lesson discusses why constructor functions are used in JavaScript. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6442796313477120). Objects in JavaScript - Exercise 3: How much is the Bill? In this exercise, you will be required to add the function totalBill as a property in the object and implement it. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6315714539421696). Objects in JavaScript - Setting & Deleting Properties This lesson will teach you how to set properties using dot operators or square brackets, and how to delete properties. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6493211730116608). Objects in JavaScript - Get & Set This lesson teaches us how to use the "get" and "set" keywords in JavaScript. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6678672176054272). Introduction - ES6 vs ES5 This lesson goes over the new features as well as the improvements made in existing features in the ES6 version of JavaScript. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/4688091048574976). Inheritance - Prototypal Chaining This lesson teaches the concept of prototype chaining in detai by using an example. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6709396828585984). Functions as Objects - Quiz A short quiz to test your understanding of constructor functions in OOP in JavaScript. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6037208811175936). Functions as Objects - Methods in Constructor Functions This lesson teaches us how to define and add new methods in a constructor function. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/5684715073830912). Classes - Exercise 2: Expired or Not? In this exercise, you have to compare the expiry dates of two products and, based on that, suggest which brand's product should be bought. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6612058827128832). Objects in JavaScript - Quiz A short quiz to test your understanding of objects in OOP in JavaScript. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/5883708072525824). Introduction - Quiz Let's test your basic understanding of this chapter with a short quiz! View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/4516097288044544). Objects in JavaScript - Creating an object literal This lesson teaches the different ways to create object literals in JavaScript. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/5453401288605696). Classes - Static Methods This lesson explains what static methods are and how they are implemented using an example. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6521596078456832). Objects in JavaScript - Accessing Object Properties This lesson discusses the different ways to access properties, such as using dot operator and square brackets. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6591429310676992). Objects in JavaScript - What are objects? This lesson introduces objects and explains in detail what object properties are by using an example. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/4789534149574656). Functions as Objects - Object Instances This lesson teaches how to create object instances using constructor functions by explaining the syntax and giving an example. Objects in JavaScript - Exercise 4: Discount? Wow In this exercise, you will be required to write a set function both with and without the set keyword. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/4513996965150720). Functions as Objects - Constructor Functions This lesson introduces constructor functions, their syntax, and gives examples to explain the concept. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/5026890232365056). Classes - Class Methods This lesson teaches us how to define methods inside a class and explains the use of get/set methods in classes. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/6386328902041600). Classes - Protecting Properties This lesson explains the steps to hide properties in the ES6 version of classes. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/4609519587950592). Functions as Objects - Exercise 2: Calculator In this exercise, you have to implement a calculator which can perform addition, subtraction, multiplication, and division. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/4571365245976576). Functions as Objects - Prototype Objects This lesson explains prototype objects, what they are, how they are accessed, and why they are used to add properties. View the lesson [here](https://www.educative.io/collection/page/10370001/5862304337887232/4755923161579520).
About the Learn Object-Oriented Programming in JavaScript (Educative) category [Learn Object-Oriented Programming in JavaScript (Educative)] (1)