Programming styles
Class
-
Abstraction
-
Inheritance // Inheritance child class will have access to parents ko properties and method
-
Encapsulation hide complex machanism (property or method ) from the user
-
Polymorphism
this = this cant be use in arrow function,beacuse it cant target local instance it only will target global instance. new = we can initialize new object with new keyword
Method & Properties shared by all instances of an object
First letter should be in capital while initializing the constructor