Source: Functional Programming Concepts
Functional program is a style of programming that focuses on evaluating functions over modifying data.
A pure function is one that will return the same result when given the same argument, and has no side effects. You know a function is pure if it does not need to read any external files, use a random number generator, or cause any side effects such as modifying a global object or passing a parameter by reference.
A pure function will have code that is easier to test and are more predictable.
Immutability is unchanging over time or unable to be changed.
Referential transparency is when a function consistently returns the same result for the same input.
Source: Node JS Tutorial for Beginners #6 - Modules and require()
A module is a reusable piece of JavaScript code with a specific functionality.
"Require" imports modules or files into your JavaScript code.
To bring another module into the file, you pass the name of the file as an argument to the "require" function.
To make a module available to other modules, it has to be exported.
What other things that we've been using are from vanilla JavaScript and which things are from Node.js