src/resolvable.js
function resolveArray(arg) {
  var resolvedArray = new Array(arg.length);
  return arg
      .reduce(function(soFar, value, index) {
        return soFar
            .then(resolveItem.bind(null, value))
            .then(function(value) {
              resolvedArray[index] = value;
            });
      }, Promise.resolve())
      .then(function() {
        return resolvedArray;
      });
}
function resolveArray(arg) {
  var resolvedArray = new Array(arg.length);
  return arg
      .reduce(function(soFar, value, index) {
        return soFar
            .then(resolveItem.bind(null, value))
            .then(function(value) {
              resolvedArray[index] = value;
            });
      }, Promise.resolve())
      .then(function() {
        return resolvedArray;
      });
}
function resolveArray ( arg ) { var resolvedArray = new Array ( arg . length ) ; return arg . reduce ( function ( soFar , value , index ) { return soFar . then ( resolveItem . bind ( null , value ) ) . then ( function ( value ) { resolvedArray [ index ] = value ; } ) ; } , Promise . resolve ( ) ) . then ( function ( ) { return resolvedArray ; } ) ; }
Resolves an array

@private
@param {Array} arg  The array to resolve
@returns {Promise} The resolved array
Resolves an array