Archive for September, 2015

Call and Apply for Beginners

September 30th, 2015 1 Comment

As you advance as a junior front-end developer you will see Javascript code that looks more and more like this.

 
$.when.apply(null, promiseArray)
 .then(function() {
    var data = arguments;
    ...
 });

(more…)