多项选择题
Promise中reject和catch处理上有什么区别?()
A.reject是用来抛出异常,catch是用来处理异常
B.reject是Promise的方法,而catch是Promise实例的方法
C.reject后的东西,一定会进入then中的第二个回调,如果then中没有写第二个回调,则进入catch
D.网络异常(比如断网),会直接进入catch而不会进入then的第二个回调
点击查看答案
相关考题
