Index

A

Abstracted function
Abstraction
definitions
via higher order functions
forEach
forEachObject
times
unless function
Arrays
chaining operations ( see Chaining operations)
filter function
map
arrayUtils
example
forEach function
implementation
projecting function
solution
reduce function
accumulator
concatAll
final implementation
first implementation
product problem
review details
rewriting
zip function
Arrow functions
Asynchronous code
async/await
callback hell
asynchronous functions
errors
promises
synchronous functions
ECMAScript, async functions ( see ECMAScript)
JavaScript

B

Babel-Node tool
forEach function
git repository
npm scripts
Babel tool
ES2017
function arguments
multiple statement functions
return statement
simple function
babel-repl
ES5
with name
strict mode
badFunction function
Behavioral-driven development (BDD)
Binary function
Bundle size, JavaScript

C

calculateTax function
Chaining operations
concatAll function
code
data structure
goal
implementation
mapping over data
nested arrays
filter and map
Closures
closureFn
context
defining
function
and higher order functions
memoize function
once function
tap function
unary function
inner function
outer function
scopes
sortBy function
Composing
Currying application
addCurried function
array contents, finding number
conversion
data flow
logger function
loggerHelper function
mode and initialMessage
revisiting
concat function
handling arguments
implementation
multiply function
n argument to unary function
variadic function
squaring array
use cases

D

Data
crazy function return string
tellType function
type function
types
Declarative programming
DevOps
Document Object Model (DOM)

E

ECMAScript
async
await
callbacks chaining
API call
call hierarchy
getAsyncCaller
getAsync function
JSON array
promise
error handling
generators
async
async/await pattern
_asyncToGenerator function
await
Babel transpiler
two-way communication
history
promises
Either functor
branching
definition
getTopTenSubRedditData
getTopTenSubRedditPosts
implementation
nothing container
Reddit
Error handling
ES2017 package
ES5 version, Babel tool ( see Babel tool)
ES6 modules
ES8-Functional library
ESLint
coding patterns
coding rules
configuration
errors
es-functional.js
installation
every function

F

Factorial
Functional composition
compose function
composeN functions
countWords function
curry and partial functions
number function
parseFloat function
map and filter, revisiting
pipelines ( see Pipelines)
Unix philosophy
cat command
compose function
defined
grep command
rule
Functional programming
calculateTax function
in mathematics
vs . method
Functor
container
arrow function
creation
JavaScript
map function
object
of Method
defined
Either
map function
container
definition
mechanism
MayBe

G

Generators
async calls
AJAX
callback hell
callbacks
dataOne variable
dataTwo variable
generator.next()
getDataOne function
getDataTwo function
httpGetAsync function
instance
JSON
main function
pause mode
Reddit URL
request function
sayFullName function
setTimeout
yield statement
asynchronous code
creation
done property
generatorResult
gen function
passing data
code
generator instance
sayFullName
yield
sequence
value
yield
generatorSequence
lazy evaluation
visual view
getTopTenSubRedditDataEither
getTopTenSubRedditPostsEither

H

Higher order function (HOC)
definition
every function
some function
sort function
HTML applications
HyperApp
createActions function
JavaScript framework
JS Fiddle
JSX
merge function
patch function
remove function
render function
update function
virtual DOM

I

identity function
Immutability
arrays
JavaScript data types
JavaScript libraries
Object.freeze
objects
string data type
variable types
variable value
Imperative programming
Istanbul
defined
Mocha tests
nyc

J, K

JavaScript library
JavaScript test frameworks
assertion functions
Babel’s assertion library
code coverage
Jasmine
asynchronous code
execution
init command
installation
package.json
spec_dir
spec_files
tests
Mocks
Reporter
Sinon, mocking
assert.equal
doSomethingTo10 function
getAsyncCaller function
HTTP call
httpGetAsync function
mocking library
Sinon fakes
Sinon mocks
Sinon stub
testing, Mocha ( see Mocha)
test structure
JS Fiddle
Babel + JSX
changeText function
components
creation
h function
JavaScript + No-Library (Pure JS)
JSX parser
No-Library
onclick function
pageLoad
virtual DOM
work online
JSX

L

Lazy evaluation

M

Map
MayBe functor
arrayUtils’s map
chaining map function
definition
error handling
error response
errors
getTopTenSubRedditData method
getTopTenSubRedditPosts function
isNothing function
JSON objects
map function
MayBe.of(null)
null/undefined value
null values
Reddit API
string value
SubReddit posts
undefined/null errors
memoize function
mergeViaMayBe API
Mocha
async test
Babel assertion library
–compilers switch
curried function
currying test
curryN function
defined
describe function
functional library test
functors test
indexOf function
installation
monads test
package.json
–require switch
switches response
Monad functor
chain function
definition
mergeViaChain
mergeViaMayBe
defined
join function
arrays map
chain
definition
getComments
mergeResult
mergeViaMayBe
problem ( see Monad, problem)
Monad, problem
nested/many maps
permalink
Reddit API endpoint
Reddit calls
array’s map function
children array
functional programming
getComments function
MayBe type
mergeViaMayBe function
permalink
search query
searchReddit
Reddit response
solution
catch block
encodeURI method
error
getComments method
HTTP GET call
permalink value
searchReddit function
Multiparadigm language
Multiple statement functions

N

Npm script

O

once function

P, Q

parseInt function
Partial application, data flow
vs . currying
implementing
setTimeout function
Pipelines
and sequence
composition, associative law
debugging using tap function
pipe function
pipeline operator
Pointed functor
Projecting function
Projection
Project setup
ES6 modules
loop problem
step-by-step guide
Pure functions
badFunction function
caching
calculateTax function
composing
definition
double function
mathematical function
parallel code
impure function
pure function
pipelines

R

real function
Reddit comments
Redux library
actions
counter property
design principles
DOM
incrementCounter
JavaScript frameworks
loadRedux function
non-UI applications
object.assign method
on click event
predictable state container
reducer
Redux, defined
Redux store
store function
subscribe method
time traveling
views
Referential transparency
REST API call
Return on investment (ROI)

S

Sinon
some function
sortBy function
sort function
compareFunction
lastname
passed property
replaced property
returned function
Strict mode
SubReddit posts
Substitution model
Synchronous vs . asynchronous functions

T

tap function
Test-driven development (TDD)
Testing
Agile team
automated unit tests
BDD
code analysis
code coverage
continuous testing phase
delivery pipelines, companies
DevOps
integration tests
JavaScript functions
ROI
TDD
UI tests
unit tests

U

unary function
Unit testing
arrange phase
code coverage
HyperApp
IncrementCounter
Mocha tests
Redux library code
Unix philosophy
cat command
compose function
defined
grep command
rule
unless function

V, W, X, Y, Z

Variadic function
rest arguments
spread operator
Virtual DOM
Angular
caveats
component-based approach
delta DOM
manipulations
React framework