wait example promise Example: wait for promise javascript const userCount = await getUserCount(); console.log(userCount); // 12345