Skip to content

Instantly share code, notes, and snippets.

@rivertam
Created February 29, 2016 23:25
Show Gist options
  • Save rivertam/4eeed5a8e5855b290da1 to your computer and use it in GitHub Desktop.
Save rivertam/4eeed5a8e5855b290da1 to your computer and use it in GitHub Desktop.
Test non-async async
const hi = async () => 5;
hi().then(num => console.log(num)); // results in 5... eventually
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment