mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 03:02:21 +00:00
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
This commit is contained in:
commit
21f79e4346
@ -955,7 +955,7 @@ foo(2, 4, 6, 8)
|
||||
(function() {
|
||||
return [
|
||||
(() => this.x).bind({ x: 'inner' })()
|
||||
]
|
||||
];
|
||||
}).call({ x: 'outer' });
|
||||
// ['outer']
|
||||
```
|
||||
@ -1363,7 +1363,7 @@ function tco(f) {
|
||||
active = false;
|
||||
return value;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
var sum = tco(function(x, y) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user