logoalt Hacker News

BlueGreenMagicktoday at 3:49 PM0 repliesview on HN

I don't think the control flow relies on GC.

The control flow stops because statements after `await new Promise(() => {});` will never run.

GC is only relied upon to not create a memory leak, but you could argue it's the same for all other objects.