Skip to content

Instantly share code, notes, and snippets.

@Javiani
Created July 21, 2019 00:58
Show Gist options
  • Save Javiani/6d870a0d67d90b088e66d2b34e8cf96b to your computer and use it in GitHub Desktop.
Save Javiani/6d870a0d67d90b088e66d2b34e8cf96b to your computer and use it in GitHub Desktop.
Snippets for Medium
Maybe(() => data.personsFirstName[0].value)
.then(
value => console.log(value),
error => console.error(error)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment