From 06ab130dcc6ac63b8e05f8c85baf7922f7ba8aa3 Mon Sep 17 00:00:00 2001 From: t4k3t0 <94347052+t4k3t0@users.noreply.github.com> Date: Tue, 14 Feb 2023 22:21:29 +0900 Subject: [PATCH] Update README.ja.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ja] 「論理演算子とブール値」 テーブル2行目(ヘッダーを除く)おいてエスケープ処理ができておらず、論理和演算子である||がマークダウン記法のテーブルを構成するセルとして扱われていた。エスケープ\を追加し、正しく表示されることを確認した。 [en] Boolean Operators and Boolean Values" In the second row of the table (excluding the header), escaping was not performed and the logical OR operator || was treated as a cell that constitutes a table in markdown notation. The escaping was added, and it was confirmed that the table was displayed correctly. --- 2-js-basics/3-making-decisions/translations/README.ja.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-js-basics/3-making-decisions/translations/README.ja.md b/2-js-basics/3-making-decisions/translations/README.ja.md index c278a5be..a3a9369f 100644 --- a/2-js-basics/3-making-decisions/translations/README.ja.md +++ b/2-js-basics/3-making-decisions/translations/README.ja.md @@ -85,7 +85,7 @@ else{ | シンボル | 説明 | 例 | | -------- | --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | | `&&` | **論理積**: 2つのブール式を逆さにします。両辺が真の場合 **のみ** true を返します。 | `(5 > 6) && (5 < 6 ) //片方が false、もう片方が true です。false を返します。` | -| `||` | **論理和**: 2つのブール式を比較します。少なくとも片方が true であれば true を返します。 | `(5 > 6) || (5 < 6) //片方が false、もう片方が true です。true を返します。` | +| `\|\|` | **論理和**: 2つのブール式を比較します。少なくとも片方が true であれば true を返します。 | `(5 > 6) \|\| (5 < 6) //片方が false、もう片方が true です。true を返します。` | | `!` | **論理否定**: ブール式の反対の値を返します。 | `!(5 > 6) // 5は6より大きくないが、"!" は true を返す` | ## 論理演算子を用いた条件と決定