When writing promise .catch() blocks, what's the difference between e and e.message?

后端 未结 0 1089
别那么骄傲
别那么骄傲 2021-01-12 07:45

I\'m pretty new to promises, and came across something I was wondering about. Here is some simple fetch code, and in the .catch() block, we use e.message to

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