Skip to content

Instantly share code, notes, and snippets.

@kepta

kepta/block13.js Secret

Last active February 21, 2018 14:59
Show Gist options
  • Save kepta/832a03ad1bcf07ab55845aa9129e3412 to your computer and use it in GitHub Desktop.
Save kepta/832a03ad1bcf07ab55845aa9129e3412 to your computer and use it in GitHub Desktop.
.then(val => {
if (val != 5) {
return Promise.reject('Not Good');
}
})
.catch(e => console.log(e)) // Not Good
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment