Skip to content

Instantly share code, notes, and snippets.

Josh Graber SonofNun15

  • CoverMyMeds
  • Ohio
Block or report user

Report or block SonofNun15

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@SonofNun15
SonofNun15 / main.js
Last active Nov 23, 2017
Asynchronous Javascript
View main.js
const start = require('./start')
const run = require('./run')
// INCORRECT approach:
// start doesn't return anything immediately, so this variable
// will be undefined.
const willBeUndefined = start((myPet) => {
// We can log the pet which start creates
You can’t perform that action at this time.