Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
callback-hell
node v5.12.0
version:
1.0.0
endpoint
share
tweet
'use strict'; const randomPuppy = require('random-puppy'); // const captionBot = require('captionbot'); // const whatDog = require('what-dog'); function example (cb) { return randomPuppy(); } const imageUrl = example(); console.log(imageUrl);
Loading…
no comments
sign in
to comment