You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/02-first-steps/02-structure/article.md
+4-7
Original file line number
Diff line number
Diff line change
@@ -25,21 +25,18 @@ alert('World');
25
25
26
26
## Semicolons [#semicolon]
27
27
28
-
A semicolon may be omitted in most cases when a line break exists.
29
-
28
+
ഒരു line break വന്നാൽ പിന്നെ അവിടെ നമുക്ക് semicolon ഒഴിവാക്കാവുന്നതാണ്.
30
29
ഇതും work ആകും:
31
30
32
31
```js run no-beautify
33
32
alert('Hello')
34
33
alert('World')
35
34
```
36
35
37
-
ഇവിടെ, ഒരു പുതിയ ലൈനിനെ JavaScript തനിയെ ഒരു സെമി കോളൻ ആയിട്ടു കണക്കാക്കും. ഇതിനെ [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) എന്നു വിളിക്കുന്നു.
42
37
38
+
**മിക്കപ്പോഴും, ഒരു newline ,ഒരു semicolon നു തുല്യമായിരിക്കും. പക്ഷെ "മിക്കപ്പോഴും" എന്നു പറഞ്ഞാൽ "എപ്പോഴും" അല്ല!**
39
+
ചില സന്ദർഭങ്ങളിൽ ഒരു newline, ഒരു semicolon നു പകരമാവില്ല.ഉദാഹരണത്തിന്:
0 commit comments