Skip to content

Instantly share code, notes, and snippets.

View franciscomdelgado's full-sized avatar
🏠
Working from home

Francisco M. Delgado franciscomdelgado

🏠
Working from home
  • Los Angeles, CA
View GitHub Profile
// async await
const setHighScores = async ({username, numOfWind}) => {
try {
const highScoreDoc = await score.doc(userName);
const response = await highScoreDoc.update({numOfWins: increment});
} catch (e) {
console.log(e);
}
}
// call back "hell"
### Keybase proof
I hereby claim:
* I am franciscomdelgado on github.
* I am franciscodelgado (https://keybase.io/franciscodelgado) on keybase.
* I have a public key ASAiVJcZAqmb5vCgGDO2sK0ZbNSWZ6Uc0ANfiQuxqPVsnwo
To claim this, I am signing this object: