From e0192d61d3dbc1cecdae0a93cd9eb798cd734f0a Mon Sep 17 00:00:00 2001 From: Bhaskar Maity <53265977+Bhaskar-maity@users.noreply.github.com> Date: Mon, 5 Oct 2020 23:54:19 +0530 Subject: [PATCH] Update xor.md --- snippets/xor.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +```