JDYou can drop the await right after a return .Comment·Article·Aug 16, 2022·Boost Node.JS performance by Promise Pool
JDOh, and so does the snippet before that one.Reply·Article·Aug 15, 2022·Understanding JavaScript reference versus instance
JDThe snippet in the section Another Solution is missing a closing curly bracket.Comment·Article·Aug 15, 2022·Understanding JavaScript reference versus instance