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

7Task.Max.Cichanau #873

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

7Task.Max.Cichanau #873

wants to merge 5 commits into from

Conversation

Vpartyzan
Copy link

Copy link
Collaborator

@vramaniuk vramaniuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll mark the PR as "Draft", please click "ready for review" when it will be finished. Thank you!

Comment on lines 210 to 214
return (res.done)
? Promise.resolve(res.value)
: Promise.resolve(res.value).then((res) => {
return handle(gen.next(res));
});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

avoid this code style, if-else is more readable than multiple conditional operators ? :

@@ -33,7 +33,19 @@
*
*/
function* get99BottlesOfBeer() {
throw new Error('Not implemented');

for (let i = 99; i>2; i--) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spaces around operators

@vramaniuk vramaniuk marked this pull request as draft August 18, 2020 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants