Skip to content
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

活久见之 JS 新见闻:return 写不写还是有关键区别的。 #334

Open
xxleyi opened this issue Sep 21, 2022 · 0 comments
Open

Comments

@xxleyi
Copy link
Owner

xxleyi commented Sep 21, 2022

image

具体解释见:https://stackoverflow.com/questions/3837994/why-does-a-return-in-finally-override-try/3838130#3838130

补充:其实 Python 也有完全类似的行为。

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

No branches or pull requests

1 participant