@caseydriscoll You make a new Promise. You can then do some logic and either resolve or reject that promise.
Tl;Dr it is up to you to determine if that promise is good or bad. See javascript.info/promise-basics
@caseydriscoll You make a new Promise. You can then do some logic and either resolve or reject that promise.
Tl;Dr it is up to you to determine if that promise is good or bad. See javascript.info/promise-basics
@kingkool68
WordPress developer at @CoderPad. Formerly of @nclud @spiritedmediaco, @pewresearch, @usnews. I made dummyimage.com and married @naudebynature.