You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arghun-dev edited this page Aug 10, 2021
·
1 revision
Objectives
Explain what a class is.
Understand how JavaScript implements the idea of classes.
Define terms like abstraction, encapsulation and polymorphism.
Use ES2015 classes to implement data structures
What is a class?
A blueprint for creating objects with pre-defined properties and methods. => So, we'll learn how to make a singly linked lists or doubly linked lists. We define a pattern for a doubly linked list.
We have a pattern for an array and arrays come with a bunch of methods and things that they can do.
Why we need classes?
We're going to implement data structures as classes!