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

loop: continue文のサンプルコードの変更 #688

Open
azu opened this issue Mar 12, 2019 · 0 comments
Open

loop: continue文のサンプルコードの変更 #688

azu opened this issue Mar 12, 2019 · 0 comments
Labels
Status: Proposal 提案段階の状態

Comments

@azu
Copy link
Collaborator

azu commented Mar 12, 2019

https://github.com/asciidwango/js-primer/pull/687/files#r264591533
もちろん、次のようにcontinue文を使わずに「偶数ならresultsへ追加する」という書き方も可能です。

loopのcontinue文の例があんまり公平感がなくてよくない気がする。

@azu azu added the Status: Proposal 提案段階の状態 label Mar 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Proposal 提案段階の状態
Projects
None yet
Development

No branches or pull requests

1 participant