-
Notifications
You must be signed in to change notification settings - Fork 9
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
Code structure #72
Conversation
|
||
[1, 2].forEach(alert) | ||
``` | ||
|
||
Now if we run the code, only the first `alert` is shown and then we have an error! | ||
Եթե գործարկենք այս կոդը, ապա կտեսնենք միայն առաջին `alert`–ի հաղորդագրությունը, ոիրց հետո սխալ կառաջանա։ |
There was a problem hiding this comment.
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`–ը։ |
There was a problem hiding this comment.
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="Սխալի օրինակ" | ||
Ահա կոդ, որը միջոցով կհանգենք նման սխալի՝ |
There was a problem hiding this comment.
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)։ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
որտես —> որպես
Please make the requested changes. After it, add a comment "/done". |
/done |
Thank you 💖 I updated the Progress Issue #1 🎉 🎉 🎉 |
This PR is ready for a full review.