1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-25 11:12:21 +00:00

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

This commit is contained in:
ruanyf 2016-05-19 08:54:13 +08:00
commit 21f79e4346

View File

@ -955,7 +955,7 @@ foo(2, 4, 6, 8)
(function() { (function() {
return [ return [
(() => this.x).bind({ x: 'inner' })() (() => this.x).bind({ x: 'inner' })()
] ];
}).call({ x: 'outer' }); }).call({ x: 'outer' });
// ['outer'] // ['outer']
``` ```
@ -1363,7 +1363,7 @@ function tco(f) {
active = false; active = false;
return value; return value;
} }
} };
} }
var sum = tco(function(x, y) { var sum = tco(function(x, y) {