async await push javascript code example
Example: async await javascript push
const formatData= async () => {
const users = ["rocktimsaikia", "aholachek", "benawad"];
const result = await users.map(async (user) => ({
name: user,
followers: await getFollowers(user)
}));
return result;
};