diff --git a/snippets/xor.md b/snippets/xor.md index 51fe2fcc0..37590c82d 100644 --- a/snippets/xor.md +++ b/snippets/xor.md @@ -5,7 +5,7 @@ tags: math,logic,beginner Returns `true` if only one of the arguments is `true`, `false` otherwise. -- Using basic or (`||`), and (`&&`), and not (`!`) operators Logical xor. +- Logical xor using basic or (`||`), and (`&&`), not (`!`) operators. - You can use the Bitwise xor (`^`) operator also on the two given values. ```js @@ -17,4 +17,4 @@ xor(true, true); // false xor(true, false); // true xor(false, true); // true xor(false, false); // false -``` \ No newline at end of file +```