Skip to content

Instantly share code, notes, and snippets.

@pionize

pionize/.js Secret

Created April 27, 2017 08:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pionize/f1b37dbf4a8ed669339e8d1e1365de04 to your computer and use it in GitHub Desktop.
Save pionize/f1b37dbf4a8ed669339e8d1e1365de04 to your computer and use it in GitHub Desktop.
Promise.resolve('foo').then(function () {
return Promise.resolve('bar');
}).then(function (result) {
console.log(result);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment