When I have a promise, I usually do something like:
funcPromise()
.then(()=> {
// some stuff happens
return value; // what if there's nothing to return here?
})
.then(()=> { //...
})
.catch(err=>log(err));
But if there's nothing to return, should i do return Promise.resolve() or return null, or simply return;?? I know that in a one-liner, the arrow function has implicit return, but for my case, it's a multi-statement function.