esolved
{:catch { a, ...rest }}
    <p>a: {a}</p>
    <p>rest: {JSON.stringify(rest)}</p>
{/await}

{#await arrayReject then value}
    resolved
{:catch [a, b, ...rest]}
    <p>a: {a}</p>
    <p>b: {b}</p>
    <p>rest: {JSON.stringify(rest)}</p>
{/await}
