Skip to content

Instantly share code, notes, and snippets.

@Javiani
Created July 21, 2019 01:13
Show Gist options
  • Save Javiani/0aa22de774e660edebc41cec287a7df5 to your computer and use it in GitHub Desktop.
Save Javiani/0aa22de774e660edebc41cec287a7df5 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