Skip to content

Instantly share code, notes, and snippets.

@qpfiffer qpfiffer/wat.js
Created Dec 18, 2017

Embed
What would you like to do?
// Runs and works as expected:
let err = null
var userQueryResult
[userQueryResult, err] = await to(function())
// throws an error:
let err = null
var userQueryResult = null
[userQueryResult, err] = await to(function())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.