x 貌似没有用到

This commit is contained in:
三咲亚子
2017-08-27 21:58:05 +08:00
committed by GitHub
parent a881386463
commit 581d07c81c
+1 -1
View File
@@ -313,7 +313,7 @@ foo() // ReferenceError: x is not defined
```javascript
let foo = 'outer';
function bar(func = x => foo) {
function bar(func = () => foo) {
let foo = 'inner';
console.log(func());
}