Skip to content

Commit 10bcb67

Browse files
Merge branch 'master' into master
2 parents 5228e84 + 7c2733a commit 10bcb67

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

1-js/02-first-steps/02-structure/article.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66

77
Statements are syntax constructs and commands that perform actions.
88

9-
We've already seen a statement, `alert('Hello, world!')`, which shows the message "Hello, world!".
9+
"Hello, world!" message കാണിക്കുന്ന statement ആയ `alert('Hello, world!')` നമ്മൾ ഇതിനു മുൻപ് തന്നെ ഒരു കണ്ടിട്ടുണ്ടായിരുന്നു.
1010

11-
We can have as many statements in our code as we want. Statements can be separated with a semicolon.
11+
നമുക്ക് ആവശ്യമുള്ള എത്ര statements വേണമെങ്കിലും കോഡിൽ നമുക്ക് ചെയ്യാം. Semicolon ഉപയോഗിച്ചാണ് നമ്മൾ ഓരോ statement ഉം വേർതിരിക്കുന്നത്.
1212

13-
For example, here we split "Hello World" into two alerts:
13+
ഉദാഹരണത്തിന്, ഇവിടെ നമ്മൾ "Hello World" രണ്ട് alertകളായിട്ടു തിരിക്കുന്നു:
1414

1515
```js run no-beautify
1616
alert('Hello'); alert('World');
1717
```
1818

19-
Usually, statements are written on separate lines to make the code more readable:
19+
സാധാരണയായി, statementകൾ വായിക്കാൻ എളുപ്പത്തിനായി പല പല വരികളിലായിട്ടാണ് എഴുതുന്നത്:
2020

2121
```js run no-beautify
2222
alert('Hello');
@@ -25,21 +25,18 @@ alert('World');
2525

2626
## Semicolons [#semicolon]
2727

28-
A semicolon may be omitted in most cases when a line break exists.
29-
30-
This would also work:
28+
ഒരു line break വന്നാൽ പിന്നെ അവിടെ നമുക്ക്‌ semicolon ഒഴിവാക്കാവുന്നതാണ്.
29+
ഇതും work ആകും:
3130

3231
```js run no-beautify
3332
alert('Hello')
3433
alert('World')
3534
```
3635

37-
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).
38-
39-
**In most cases, a newline implies a semicolon. But "in most cases" does not mean "always"!**
40-
41-
There are cases when a newline does not mean a semicolon. For example:
36+
ഇവിടെ, ഒരു പുതിയ ലൈനിനെ JavaScript തനിയെ ഒരു semicolon ആയിട്ടു കണക്കാക്കും. ഇതിനെ [automatic semicolon insertion](https://tc39.github.io/ecma262/#sec-automatic-semicolon-insertion) എന്നു വിളിക്കുന്നു.
4237

38+
**മിക്കപ്പോഴും, ഒരു newline ,ഒരു semicolon നു തുല്യമായിരിക്കും. പക്ഷെ "മിക്കപ്പോഴും" എന്നു പറഞ്ഞാൽ "എപ്പോഴും" അല്ല!**
39+
ചില സന്ദർഭങ്ങളിൽ ഒരു newline, ഒരു semicolon നു പകരമാവില്ല.ഉദാഹരണത്തിന്:
4340
```js run no-beautify
4441
alert(3 +
4542
1

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ If maintainers DO NOT respond, or if you'd like to become a maintainer, write us
2121

2222
🎉 Thank you!
2323

24+
2425
Your name and the contribution size will appear in the "About project" page when the translation gets published.
2526

2627
P.S. The full list of languages can be found at <https://javascript.info/translate>.
28+
👉 Done!
29+
2730

2831
## Structure
2932

0 commit comments

Comments
 (0)