- From: Justin Fagnani <notifications@github.com>
- Date: Tue, 13 Aug 2019 19:16:43 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 14 August 2019 02:17:05 UTC
@dfabulich @dtruffaut ```js async function go() { document.adoptedStyleSheets = [...document.adoptedStyleSheets, await import('./style.css')]; } ``` would work just fine. The inner expressions are evaluated first, yielding at the `await`, then the array literal, then the assignment, etc... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/759#issuecomment-521076355
Received on Wednesday, 14 August 2019 02:17:05 UTC