Programming Javascript Applications Book, Chapter 2 on Functions

Reading some of Eric Elliots Javascript Applications book.

Nice article on first order functions. Basically in javascript functions are first class objects, which means we can pass them around as variable to other functions. Functions are actually Objects. A first order function is where we get a function to return another function.

Some good articles on using let and const v.s var. Basically in ES6 there is no longer any reason to use ‘var’. Either use ‘const’ for constants, or ‘let’ for variables.

Also some good articles on closures.

  1. Finished chapter 2 of the book.