Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/03-javascript/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ document.write("こんにちは、世界!");
`document.write` は画面に出力するための命令です。

```javascript
document.write("Hello World1");
document.write("Hello World2");
document.write("Hello World3");
document.write("こんにちは、世界1");
document.write("こんにちは、世界2");
document.write("こんにちは、世界3");
```

## コメント
Expand All @@ -40,8 +40,8 @@ document.write("Hello World3");

```javascript
// この部分はコメントです。
document.write("Hello World1"); // この部分もコメントです。
document.write("こんにちは、世界1"); // この部分もコメントです。
// 次の行はコメントになっているため、プログラムの実行に影響を与えません。
// document.write("Hello World2");
document.write("Hello World3");
// document.write("こんにちは、世界2");
document.write("こんにちは、世界3");
```