Please enable JavaScript.
Coggle requires JavaScript to display documents.
Object Oriented Programming, Constructor Function, Classes - Coggle Diagram
-
Constructor Function
:star: First way to create : Link
Second way to create : Link
-
-
Classes
-
:star: Every time we create an instance from class, we run constructor function. And because of that, we won't initialize methods inside constructor because it creates methods every time!
-