如果一个名字声明为全局,那么所有的引用与赋值直接进入包含模块全局名字的中间作用域。
If a name is declared global then all references and assignments go directly to the middle scope containing the module's global names.
解构赋值允许交换两个值,而无需使用中间变量。
Destructuring assignment allows swapping two values without the use of a temporary variable.
应用推荐