javascript

A collection of 9 posts

Oct 18, 2016

Handling an Array of Promises

Handling an Array of Promises

A very common situation is having to make many asynchronous calls. There are two ways that we can wait for those to happen: All at once / without concern for order In the order

May 10, 2016

Closing in on closure

Closing in on closure

There is a familiar tenet in programming. When the function has completed running, the variables are disposed. This is pretty close to our hearts as programmers. So naturally, JavaScript comes in shakes things

May 1, 2016

Understanding Functional Scope

Understanding Functional Scope

In JavaScript, functions determine the scope of a variable, leading to some unexpected scenarios that developers can come across while transitioning from block scope languages. First off, there's the initial question of what