I occasionally forget to use the await keyword, e.g.:
const foo = bar();
// instead of
const foo = await bar();
Those bugs are difficult to spot. Which methods, libraries or tools are available to prevent those kind of bugs?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…