News for hackers. Stuff that matters.
Re:What’s New in ES2019 by hombre_fatal on Tuesday July 30, 2019 @02:57PM (#20568006)
Seems like pretty trivial bikeshedding. How about just:

    const user = await db.findOne()
    if (user) ... else ...
Typescript can even narrow the type to null vs. User in each branch block.

There are no comments on this comment yet.