Skip to content

Update promise.md #892

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 2, 2019
Merged

Update promise.md #892

merged 1 commit into from
Aug 2, 2019

Conversation

wang1433256766
Copy link
Contributor

Promise.prototype.then(),当then中的回调函数返回一个Promise对象时,后面的then中的回调函数不应该写上funcA、funcB这样的方法名,会让人误以为是函数定义,并未调用,造成阅读困难!

Promise.prototype.then(),当then中的回调函数返回一个Promise对象时,后面的then中的回调函数不应该写上funcA、funcB这样的方法名,会让人误以为是函数定义,并未调用,造成阅读困难!
@ruanyf ruanyf merged commit 291f0e6 into ruanyf:gh-pages Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants