Y
Hacker News
new
|
ask
|
show
|
jobs
by
SummerlyMars
1910 days ago
As of Node 14.8, you can use await at the top level. In previous versions (not sure for how long), it was hidden behind a flag.
https://nodejs.org/en/blog/release/v14.8.0/