Skip to content

Instantly share code, notes, and snippets.

@xodhx4
Created April 2, 2020 11:29
Show Gist options
  • Save xodhx4/f9fba1743a04c68f5c2e447535eff640 to your computer and use it in GitHub Desktop.
Save xodhx4/f9fba1743a04c68f5c2e447535eff640 to your computer and use it in GitHub Desktop.
Markdium-JS 초보가 쓰는 async await 처음부터 이해하기
function returnResult() { // 안됨
const result = await callApi();
return result + 10;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment