JS: Can reject be left out of promises?

后端 未结 0 344
挽巷
挽巷 2020-12-12 12:29

With promises, is it bad practice to leave out the use of reject? If I just want to return a Promise to ensure this function is run in it\'s entirety and not b

相关标签:
回答
  • 消灭零回复
提交回复
热议问题