DEV Community

Discussion on: 3 most common mistakes when using Promises in JavaScript

Collapse
 
7qruzer profile image
Kumar Gaurav • Edited

Small correction here ...

const createSomePromise = async () => {
  // await HTTP request's response
  return result;
};
Collapse
 
axtn profile image
Alex T

Thanks for making that clearer Kumar!