Skip to content

Commit 7c2733a

Browse files
Update article.md
1 parent 7d0feea commit 7c2733a

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

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

+4-7
Original file line numberDiff line numberDiff line change
@@ -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-
28+
ഒരു line break വന്നാൽ പിന്നെ അവിടെ നമുക്ക്‌ semicolon ഒഴിവാക്കാവുന്നതാണ്.
3029
ഇതും work ആകും:
3130

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

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) എന്നു വിളിക്കുന്നു.
4237

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

0 commit comments

Comments
 (0)