Skip to content
RED SAGSkills
hard20 pts · first answer countsjavascriptmodulesasync-await

Top-level await in a config module

config.js does const cfg = await fetch("/config").then(r => r.json()) at the top level. What happens to app.js, which imports config.js?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions