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

Remove unnecessary 'return' #1662

Merged
merged 1 commit into from
Jun 18, 2022
Merged

Remove unnecessary 'return' #1662

merged 1 commit into from
Jun 18, 2022

Conversation

nat-k-dev
Copy link
Contributor

Better to remove 'return' before 'reject' in two example code pieces. This 'return' doesn't make sense.
Also, there is no such 'return' keyword in English version of this article.
This mistake in example code makes difficult to beginners to understand the code, distracts attention, creates questions in comments.

Better to remove 'return' before 'reject' in two example code pieces. This 'return' doesn't make sense.
Also, there is no such 'return' keyword in English version of this article.
This mistake in example code makes difficult to beginners to understand the code, distracts attention, creates questions in comments.
@javascript-translate-bot javascript-translate-bot added the review needed Review needed, please approve or request changes label Jun 14, 2022
@javascript-translate-bot javascript-translate-bot requested a review from a team June 14, 2022 09:32
@CLAassistant
Copy link

CLAassistant commented Jun 14, 2022

CLA assistant check
All committers have signed the CLA.

@ruslauz
Copy link
Member

ruslauz commented Jun 18, 2022

👍

@ruslauz ruslauz merged commit 468cd5b into javascript-tutorial:master Jun 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review needed Review needed, please approve or request changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants