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
URL : https://github.com/asciidwango/js-primer/blob/master/source/basic/function-declaration/README.md
名前をつけることができない(常に匿名関数) 📝 https://github.com/asciidwango/js-primer/blob/master/source/basic/function-declaration/README.md#L522
const a = () => {} は仕様に、a.name も取れるので、名前をつけることはできないというのは微妙なのかも。 スタックトレース的にも変数名が名前にはなるので、
const a = () => {}
a.name
常に匿名関数
だけでもよさそう。
The text was updated successfully, but these errors were encountered:
関数名 - 利用できる名前は変数名と同じ(「変数名に使える名前のルール」を参照)
と対なのかな
Sorry, something went wrong.
No branches or pull requests
URL : https://github.com/asciidwango/js-primer/blob/master/source/basic/function-declaration/README.md
const a = () => {}
は仕様に、a.name
も取れるので、名前をつけることはできないというのは微妙なのかも。スタックトレース的にも変数名が名前にはなるので、
だけでもよさそう。
The text was updated successfully, but these errors were encountered: