News for hackers. Stuff that matters.
Re:V8 adds support for top-level await by mattwad on Tuesday September 24, 2019 @06:53PM (#21065519)
I think the boon here will be for scripts that run once. Say I just want to query a few tables. Now, I no longer need a `main()` wrapper:

  const result = await db.events.find();
  console.log(result);
That's my whole script

There are no comments on this comment yet.