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.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s