Well, it can help alleviate the confusion, but I recommend reading my recent article on best practices for ES6 promises. In it, I explained why it's best to refrain from wrapping values in promises as much as possible. I particularly discouraged the use of Promise.resolve, so I think that might be worth your read. 😉
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Best Practices for ES6 Promises
Basti Ortiz (Some Dood) ・ Jul 22 ・ 8 min read
Well, it can help alleviate the confusion, but I recommend reading my recent article on best practices for ES6 promises. In it, I explained why it's best to refrain from wrapping values in promises as much as possible. I particularly discouraged the use of
Promise.resolve
, so I think that might be worth your read. 😉