`then` not called when promise returns `undefined`
Closed this issue · 1 comments
lcswillems commented
This code:
CancelablePromise.resolve(undefined).then(console.log)
doesn't log undefined
whereas this code:
Promise.resolve(undefined).then(console.log)
does. Is it expected?
lcswillems commented
My bad! It does log undefined
. My error is coming from somewhere else