Skip to content

Commit f7f163f

Browse files
committed
add comments
1 parent ff2e2ea commit f7f163f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ alert("World");
4747
ဥပမာ ဒီလိုပုံစံ မျိုးဆိုလည်း အလုပ်လုပ်ပါတယ်။
4848

4949
```js run no-beautify
50-
alert("Hello");
51-
alert("World");
50+
alert("Hello")
51+
alert("World")
5252
```
5353

5454
<!-- 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). -->
@@ -135,6 +135,7 @@ alert("Hello")[1, 2].forEach(alert);
135135
## Comments [#code-comments]
136136

137137
<!-- As time goes on, programs become more and more complex. It becomes necessary to add *comments* which describe what the code does and why. -->
138+
တစ်ဖြည်းဖြည်း လုပ်နေရင်းနဲ့ ကိုယ်ရေးတဲ့ program ကို ပိုပိုပြီး ရှုပ်လာပါလိမ့်မယ်။ အာလိုအခြေအနေမျိုးမှာ *comments* တွေကို ထည့်ရေးပြီး အခုလက်ရှိ code က ဘယ်လိုအလုပ်လုပ်တယ် ဆိုတာနဲ့ ဘာကြောင့် ဒီ code ကို လိုအပ်တယ်ဆိုတာကို ထည့်ရေးထားလို့ရပါတယ်။
138139

139140
Comments can be put into any place of a script. They don't affect its execution because the engine simply ignores them.
140141

0 commit comments

Comments
 (0)