diff --git a/docs/03-javascript/index.mdx b/docs/03-javascript/index.mdx index a35683f..6141ec9 100644 --- a/docs/03-javascript/index.mdx +++ b/docs/03-javascript/index.mdx @@ -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"); ``` ## コメント @@ -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"); ```