X Tutup
Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 345 Bytes

File metadata and controls

26 lines (17 loc) · 345 Bytes

javascritp and classes

OOP

Object

  • collection of properties and methods
  • toLowerCase,toUpperCase,toString

why use OOP

parts of OOP

Object literal

  • Constructor function
  • Prototype
  • Classes
  • Instances (new, this)

4 pillars

Abstraction
Encapsulation
Inheritance
Polymorphism
X Tutup