Navigate to https://nodejs.org/en/download/ .
Select your operating system and download the installer.
Run the installer.
Finish the setup.
In node , we will install the dependencies via npm. npm will be part of your installation.
Run the following command to install babel :
npm install -g babelRun the following command to install babel-node :
npm install -g babel-cliNote that -g will install the scripts globally.
Abstraction
Arguments function
Arrays
chain
functions
filter
map
overview
reduce function
zipping arrays
apressBooks object
reviewDetails object
zip function
Arrow functions
Asynchronous
Binary function
Cachable function
Callback Hell problem
Chaining operations
apressBooks
concatAll
implementation
projection functions
Closures
definition
memoize function
once function
sortBy function
tap function
unary function
Closures
Composable
compose function
Composition
compose function
curry/partial function
grep command
many function
map and filter function
Unix philosophy
concatAll function
Container function
crazy function
Create and execute functions
arguments
arrow functions
ES5 functions
first simple function
multiple statement
return statement
strict mode
transpiler
Currying/partial application
addCurried function
array
finding number
square
binary function
data flow
partial application
partial function implementation
definition
handling arguments
logger function
nested unary function
vs. partial application
revisting curry function
tables function using currying
tables function without currying
terminologies
unary function
variadic functions
Data flow
implementing partial function
partial application
Data types
nutshell
passing a function
returning a function
storing a function
Declarative programming
done properties
ECMASCRIPT
Either functor
creation
implementation
Error handling
ES6 functions
babel-node
exports
ES6-Functionals
imports
initial setup
loop problem
modules
Npm
project setup
source code
every function
filter function
fns.reverse() function
forEach function
Functional programming
abstraction
benefits
cachable
declarative
definitions
ES6-Functionals
imperative paradigm
JavaScript
mathematics
meaning
vs. methods
parallel code
pipelines and composable
pure functions
referential transparency
tax function calculation
Functions
arrow
create and execute
ECMASCRIPT
Functor
container
definition
Either
creation
implementation
reddit function
map function
MayBe
point clear
Generators
Callback Hell problem
caveats
creation
definition
done properties
handle async calls
getDataOne function
httpGetAsync function
real-world case
simple case
passing data
yield keyword
getTopTenSubRedditData method
getTopTenSubRedditPosts function
Handling async code
Handling errors
Higher-Order functions
abstraction
definition
definitions of
forEach function
forEachObject function
times function
unless function
data
every function
meaning
some function
sort
httpGetAsync function
Imperative programming
join implementation
Lazy evaluation
logger function
longRunningFnBookKeeper function
longRunningFunction function
many function
map
apressBooks object
arrays
arrayUtils object
definition
filter function
forEach function
functor
Mathematical functions
Math.max function
MayBe
getTopTenSubRedditPosts function
handle errors/exception
implementation
map function
real-world use cases
use cases
Memoize function
mergeViaMayBe function
Methods
Monads
See alsoFunctor
chain implementation
definition
getComments implementation
implementation
join implementation
map function
mergeViaJoin
mergeViaMayBe
method
problems
Reddit API endpoint
reddit comments
Multiple statement functions
Npm script creation
once function
Parallel code
Partial application vs. Curry function
Passing data
Pipelines/sequence
composition is associative
left-most function
odds
pipe function
pipelines
right-most function
tap function
Pointed functor
Pure functions
definition
external environment
Math.max function
mathematical function
reasonable code
testable code
reduce function
Referential transparency
script-compiled.js file
some function
Sort function
compareFunction
in-built function
sortBy function
Strict modes
Synchronous vs. Asynchronous
tap function
tellType function
times function
unary function
Unix philosophy
Unless function
variadic function
yield keyword
zip function