Skip to content

Code structure #72

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

Merged

Conversation

bugron
Copy link
Contributor

@bugron bugron commented Mar 7, 2021

This PR is ready for a full review.


[1, 2].forEach(alert)
```

Now if we run the code, only the first `alert` is shown and then we have an error!
Եթե գործարկենք այս կոդը, ապա կտեսնենք միայն առաջին `alert`–ի հաղորդագրությունը, ոիրց հետո սխալ կառաջանա։
Copy link
Contributor

Choose a reason for hiding this comment

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

ոիրց—> որից


[1, 2].forEach(alert)
```

Now we have the "All fine now" message followed by `1` and `2`.
Այժմ կտեսնենք «Հիմա ամեն ինչ նորմալ է» հաղորդագրությունը, որին կհաջորդեն `1`–ը and `2`–ը։
Copy link
Contributor

Choose a reason for hiding this comment

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

and —> և

````smart header="An example of an error"
If you're curious to see a concrete example of such an error, check this code out:
````smart header="Սխալի օրինակ"
Ահա կոդ, որը միջոցով կհանգենք նման սխալի՝
Copy link
Contributor

Choose a reason for hiding this comment

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

որը միջոցով —> որի միջոցով


```js run no-beautify
alert('Hello')
alert('World')
```

Here, JavaScript interprets the line break as an "implicit" semicolon. This is called an [automatic semicolon insertion](https://tc39.github.io/ecma262/#sec-automatic-semicolon-insertion).
Այստեղ JavaScript–ն ընկալում է նոր տողին անցումը որտես կետ-ստորակետ։ Սա կոչվում է [կետ-ստորակետի ինքաշխատ ավելացում](https://tc39.github.io/ecma262/#sec-automatic-semicolon-insertion) (automatic semicolon insertion)։
Copy link
Contributor

Choose a reason for hiding this comment

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

որտես —> որպես

@javascript-translate-bot

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

@bugron
Copy link
Contributor Author

bugron commented Mar 8, 2021

/done

@ArthurHakobyan ArthurHakobyan merged commit 35acba4 into javascript-tutorial:master Mar 10, 2021
@javascript-translate-bot

Thank you 💖 I updated the Progress Issue #1 🎉 🎉 🎉

@bugron bugron deleted the translation/02-structure branch March 12, 2021 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants