Tagged “classes”
-
TIL about switching out of JS Classes and into JS Modules javascript oop classes advanced
A classes are just blueprints for creating objects. A class encapsulates data and functions that manipulate data. A module is a file that exports features, such as variables, objects, and functions, that can be used elsewhere.
-
TIL all functions create a empty prototype object javascript classes advanced
When you create a function in JavaScript, it automatically creates an empty container called prototype for you to stick your methods into.
-
TIL super keyword in Javascript classes javascript classes mdn codepen
the super keyword is mainly used when we want to access a variable, method, or constructor in the base class from the derived class.
See all tags.