From c11a28a034c9fb5dd0649d093c61eb83c3188941 Mon Sep 17 00:00:00 2001
From: Chandrashekhar R <73425927+cr2007@users.noreply.github.com>
Date: Wed, 14 Dec 2022 13:35:21 +0400
Subject: [PATCH] Fixes the `===` operator format (#3108)
Displays it in code format so that it is appears the same as the other operators.
---
.../101-value-comparison-operators.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/roadmaps/106-javascript/content/105-javascript-equality-comparisons/101-value-comparison-operators.md b/content/roadmaps/106-javascript/content/105-javascript-equality-comparisons/101-value-comparison-operators.md
index 7a493d1ae..e1186fc4d 100644
--- a/content/roadmaps/106-javascript/content/105-javascript-equality-comparisons/101-value-comparison-operators.md
+++ b/content/roadmaps/106-javascript/content/105-javascript-equality-comparisons/101-value-comparison-operators.md
@@ -1,6 +1,6 @@
# Value Comparison Operators
-In javascript, the `==` operator does the type conversion of the operands before comparison, whereas the === operator compares the values and the data types of the operands. The `Object.is()` method determines whether two values are the same value: `Object.is(value1, value2)`.
+In javascript, the `==` operator does the type conversion of the operands before comparison, whereas the `===` operator compares the values and the data types of the operands. The `Object.is()` method determines whether two values are the same value: `Object.is(value1, value2)`.
`Object.is()` is not equivalent to the `==` operator. The `==` operator applies various coercions to both sides (if they are not the same type) before testing for equality (resulting in such behavior as `"" == false` being `true`), but `Object.is()` doesn't coerce either value.
@@ -8,4 +8,4 @@ In javascript, the `==` operator does the type conversion of the operands before
Free Content
The Difference Between == and === in Javascript
-Equality comparisons and sameness - MDN
\ No newline at end of file
+Equality comparisons and sameness - MDN