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.