const xP = getX(); const yP = getY(); const x = await xP; const y = await yP;
const [x, y] = Promise.all([getX(), getY()]);