async function fetchUsers(usernames) {
let userProfiles = await Promise.all(
usernames.map(async (username) => {
let response = await fetch(`https://api.github.com/users/${username}`);
let userJSON = await response.json();
return userJSON;
})
);
return userProfiles;
}