a style of programming where the elements are treated as mathematical functions
If it is deterministic and if it has no side effects
It helps create clean code that is testable and reusable without worrying about uninteded side effets.
unmodifiable data.
Basically it where you could replace the function with its value the result should be the same.
a reusable snippet of code.
it searches for and loads modules to be used in Node.js
we declare the variable a require(‘module’)
you have to create an object using .exports
I would like to learn more about modules and their frequency of use in real world applications.