function httpGet(url) {
return new Promise(function(resolve, reject) {
resolve(url);
}
Promise.all( urls.map(httpGet) ).then(results => {
console.log(results);
});
let urls = [
'/article/promise/user.json',
'/article/promise/guest.json',
//Какой здесь придел?
];