Functional Programming
Immutability – always use ‘const’ to declare variables
Separate data and functions
Data is represented by JS objects (JS’s version of arrays or hashes…) – it is a constant source of truth
Functions act separately and make a modified copy of the data
First-class functions – allows us to treat functions the way we treat other data types…
Mutating array methods – reverse – will modify the actual array
eslint