Hacker News new | ask | show | jobs
by BinaryIdiot 3568 days ago
In that script, yes. But in JavaScript you can have multiple scripts :)
1 comments

> in JavaScript you can have multiple scripts

You mean, you can embed multiple script elements in HTML? Yes. But allowing global await in ES spec means also enabling it in node.

or you could just do `import('a'); import('b');` to load `a` and `b` in parallel