mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
括号中文字符变英文字符
This commit is contained in:
parent
bdacbb11df
commit
f6f9aba79f
@ -665,7 +665,7 @@ true
|
||||
17
|
||||
```
|
||||
|
||||
上面代码中,参数`n`从10变为0的过程中,`even()`一共会执行6次,所以变量`counter`等于6。第二次调用`even()`时,参数`n`从20变为0,`even()`一共会执行11次,加上前面的6次,所以变量`counter`等于17。
|
||||
上面代码中,参数`n`从10变为0的过程中,`even()`一共会执行6次,所以变量`counter`等于6。第二次调用`even()`时,参数`n`从20变为0,`even()`一共会执行11次,加上前面的6次,所以变量`counter`等于17。
|
||||
|
||||
这个例子要是改写成CommonJS,就根本无法执行,会报错。
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user