允许使用重名变量(变量遮蔽) #9
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
内层作用域的变量将可以“遮蔽”外层作用域的同名变量,此时外层变量在内层作用域内无法访问。
参考测试用例