Mention .all() promise fulfilment order

Test

var q = require('q');








function soon (id, time) {
  var deffered = q.defer();
  setTimeout(function () {
    console.log(id + ' is done');
    deffered.resolve(id);
  }, time);
  return deffered.promise;
}




q.all([soon("a", 5000), soon("b", 100), soon("c", 2000)]).then(function (results) {
  console.log(results);
});