mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-06 23:06:46 +02:00
Update README.ja.md
[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.
This commit is contained in:
@@ -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 を返す` |
|
||||
|
||||
## 論理演算子を用いた条件と決定
|
||||
|
Reference in New Issue
Block a user