Skip to content

Commit cca6b37

Browse files
authored
Merge pull request #299 from ut-code/fix-consolelog-description
Fix `console.log` description
2 parents c2c6fab + 25a18f1 commit cca6b37

File tree

1 file changed

+2
-4
lines changed
  • docs/2-browser-apps/01-inspector

1 file changed

+2
-4
lines changed

docs/2-browser-apps/01-inspector/index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,8 @@ JavaScript の実行がブレークポイントを設定した地点に差し掛
108108

109109
:::tip `console.log`
110110

111-
デバッガを使わずに、`console.log` を使ってデバッグすることもできます。`console.log` は、ブラウザの開発者ツールのコンソールに値を出力
112-
する関数です。
113-
以下のプログラムは x と y の和を出力するプログラムですが、`console.log` を使って
114-
プログラムの実行中に値の変化を確認したり、エラーが発生した際に原因を特定することができます。
111+
デバッガを使わずに、`console.log` を使ってデバッグすることもできます。`console.log` は、ブラウザの開発者ツールの `Console` に値を出力する関数です。
112+
以下のプログラムは `x``y` の和を出力するプログラムですが、`console.log` を使ってプログラムの実行中に値の変化を確認したり、エラーが発生した際に原因を特定することができます。
115113

116114
```javascript
117115
let x = 5;

0 commit comments

Comments
 (0)