From 108310ff3a302ad6eeff08f170c8c33b2217a44c Mon Sep 17 00:00:00 2001 From: Boris Osciel Castillo Pizarro <48566882+booscapi@users.noreply.github.com> Date: Fri, 4 Aug 2023 01:20:12 -0400 Subject: [PATCH] Update index.md Comparison with no type conversion, == to === --- .../web/javascript/reference/operators/equality/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/en-us/web/javascript/reference/operators/equality/index.md b/files/en-us/web/javascript/reference/operators/equality/index.md index 2e0b2a9a9c092a7..4ca5e8eb88594df 100644 --- a/files/en-us/web/javascript/reference/operators/equality/index.md +++ b/files/en-us/web/javascript/reference/operators/equality/index.md @@ -52,8 +52,8 @@ There's a "willful violation" of the above algorithm: if one of the operands is ### Comparison with no type conversion ```js -1 == 1; // true -"hello" == "hello"; // true +1 === 1; // true +"hello" === "hello"; // true ``` ### Comparison with type conversion