promise的then

1 promise 的then传入非函数 会被忽略

2 promise 的then传入函数不带返回值,下一个then会拿到undefined

参考:

1 https://segmentfault.com/a/1190000010420744

promise 与 observable区别

https://blog.csdn.net/weixin_33912638/article/details/93183781

原文地址:https://www.cnblogs.com/wolbo/p/13772799.html