can you use a return with a promise javascript code example
Example: .then javascript
const promise2 = doSomething().then(successCallback, failureCallback);
const promise2 = doSomething().then(successCallback, failureCallback);