Code structure#72
Merged
ArthurHakobyan merged 2 commits intojavascript-tutorial:masterfrom Mar 10, 2021
Merged
Conversation
ArthurHakobyan
suggested changes
Mar 8, 2021
| ``` | ||
|
|
||
| Now if we run the code, only the first `alert` is shown and then we have an error! | ||
| Եթե գործարկենք այս կոդը, ապա կտեսնենք միայն առաջին `alert`–ի հաղորդագրությունը, ոիրց հետո սխալ կառաջանա։ |
| ``` | ||
|
|
||
| Now we have the "All fine now" message followed by `1` and `2`. | ||
| Այժմ կտեսնենք «Հիմա ամեն ինչ նորմալ է» հաղորդագրությունը, որին կհաջորդեն `1`–ը and `2`–ը։ |
| ````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="Սխալի օրինակ" | ||
| Ահա կոդ, որը միջոցով կհանգենք նման սխալի՝ |
Contributor
There was a problem hiding this comment.
որը միջոցով —> որի միջոցով
| ``` | ||
|
|
||
| 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)։ |
|
Please make the requested changes. After it, add a comment "/done". |
Contributor
Author
|
/done |
ArthurHakobyan
approved these changes
Mar 10, 2021
|
Thank you 💖 I updated the Progress Issue #1 🎉 🎉 🎉 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is ready for a full review.