1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 21:32:20 +00:00

Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages

This commit is contained in:
ruanyf 2016-03-03 16:42:20 +08:00
commit f50a775466

View File

@ -230,7 +230,7 @@ f(x + 5)
f(6) f(6)
``` ```
另一种意见是"传名调用"call by name即直接将表达式`x + 5`传入函数体只在用到它的时候求值。Hskell语言采用这种策略。 另一种意见是"传名调用"call by name即直接将表达式`x + 5`传入函数体只在用到它的时候求值。Haskell语言采用这种策略。
```javascript ```javascript
f(x + 5) f(x + 5)