spread.js 125 B

123456
  1. const foo = { ...(a || b) };
  2. const foo2 = { ...a || b };
  3. const foo3 = { ...(a ? b : c) };
  4. async () => ({ ...(await foo) });