Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 394 Bytes

encapsulation.md

File metadata and controls

13 lines (9 loc) · 394 Bytes

Encapsulation

Encapsulation is a fancy term for grouping data and functions that work together. There are many ways to do this in JS but the five main ways are:

  • Object literals
  • Binding
  • Prototypical Inheritance
  • Classes
  • Closure

Here you'll learn the basic philosophies of Object Oriented and Functional programming and the JS language features that make them possible.