Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

笔记 6. ES6:参数默认值 #5703

Prev Previous commit
Next Next commit
Update TODO1/es6-notes-default-values-of-parameters.md
Co-Authored-By: Chorer <43442630+Chorer@users.noreply.github.com>
  • Loading branch information
leviding and Chorer authored May 7, 2019
commit 00f4a94e39c44172707ab61685efc61a5991cbf1
2 changes: 1 addition & 1 deletion TODO1/es6-notes-default-values-of-parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ function foo(x, y) {
}
var x = 3;
y(); // `x` 被共用了吗?
console.log(x); // 是的! 2
console.log(x); // 是的!2
}

foo();
Expand Down