We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
関数の仮引数を同じ名前で複数定義しても文法エラーにならず、実行してもエラーが発生しない
@f(a, a) { a } <: f(1, 2) // => 1
The text was updated successfully, but these errors were encountered:
JavaScriptではstrictモードでないときに仮引数名を重複することができて、後のほうの引数を参照できるらしい
function f(a, a) { return a; } console.log(f(1, 2)); // => 2
Sorry, something went wrong.
No branches or pull requests
関数の仮引数を同じ名前で複数定義しても文法エラーにならず、実行してもエラーが発生しない
The text was updated successfully, but these errors were encountered: