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
デリゲートを使ってイベントを実装しているとき、C#のように次のように記述したい時がある。
var count = 0; onclick += _=>print(count++);
しかしこのコードは期待通りに動作しない。なぜなら、onclickのスコープは呼び出し元にあって定義したところのスクリプトにはないからである。
onclick
The text was updated successfully, but these errors were encountered:
061c27f
No branches or pull requests
デリゲートを使ってイベントを実装しているとき、C#のように次のように記述したい時がある。
しかしこのコードは期待通りに動作しない。なぜなら、
onclick
のスコープは呼び出し元にあって定義したところのスクリプトにはないからである。The text was updated successfully, but these errors were encountered: