Re: [w3c/webcomponents] CSS Modules (#759)

@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