Desiah Barnettdesiahbarnett.hashnode.dev·Jan 24, 2024Equality & Relational OperatorsLets chat a little bit about Equality Operator. Boolean variables(expressions) return true or false values. When it comes to comparison operators in JavaScript there are four equality operators. Strict Equality Operators, Strict Inequality Operators,...Discuss·33 readsrelational operator in javascript
Jassahib Singhjassahib.hashnode.dev·Oct 16, 2023== or === What's the difference?If you're new to Javascript, you will find code where === is used while in other languages only == is there and you might be curious why is that, let's learn about the differences and their usages in this article. If you've got a basic understanding ...Discuss·31 readsstrict equality operator
Himanshu Kumarhimanshukrmr.hashnode.dev·Apr 9, 2023Understanding “==” (Abstract Equality) and “===” (Strict Equality) in JavaScriptA lot of people including me had a misconception that in JavaScript “==” doesn’t check type and “===” does, but sometimes we have to unlearn some things. So before understanding these two equalities we have to understand Coercion. What is Coercion Co...Discuss·68 readsJavaScript
Prachi Sahuprachiblogs.hashnode.dev·Feb 24, 2023Difference between Loose equality (==) and Strict equality(===)While using the equality operator in javascript. We usually have two options that are to either use Loose equality (==) or to use Strict equality (===). But making choice hastily without knowing the exact behavior of both can lead to unexpected behav...Discuss·14 likesLoose equality operator
Rajashree Parhirajashreeparhi.hashnode.dev·Feb 21, 2023Understanding loose equality and strict equalityIntroduction Before understanding == and ===, let's take a look at how the conversion from one data type to other works behind the hoods! Type Conversion Type conversion: As the name suggests, it is the process of converting one type into another. Va...Akash Kumar Singh and 2 others are discussing this3 people are discussing thisDiscuss·3 likes·164 readsJavaScript
Prajakt Gunjalprajakt.hashnode.dev·Feb 17, 2023Double Equals(==) & Triple Equals(===).Hi Everyone. Today I came to know that I am not the only one who is confused between "Double equals(==) & Triple Equals(===)" in Javascript. There are a lot of people confused about these operators. So this blog is for those who were struggling to un...Discuss·2 likes·27 readsequality operator in javascript
Pranav Patanipranavpatani.hashnode.dev·Feb 16, 2023Understanding The Strict and Loose Equality Operators In JavaScriptThis blog will cover the concepts of type conversion, type coercion, loose equality operator, and strict equality operator in javascript, with the main focus on comparing the two operators. Introduction to Equality Operators In javascript, we have tw...Discuss·2 likes·82 readsJavaScript
Aniket Lawaniyaaniketlawaniya.hashnode.dev·Feb 13, 2023Making the Right Choice: "===" vs "==" in JavaScriptIn JavaScript, equality operators are used to determine the equality of values in expressions and conditions. There are two main equality operators in JavaScript: the double equal sign (==) also known as Loose Equality and the triple equal sign (===)...Discuss·1 like·107 readsJavaScript
Kamiya Gaikwadkamiya.hashnode.dev·Feb 11, 2023JS: Difference between == & ===When we want to compare two values in javascript, our first instinct is to use "==".Example: let a = 5; let b = 7; console.log(a==b) //false But there is another type of equality operator which is stricter than "==". This operator is "===". "==" ope...Discuss·7 likes·362 readsJavaScript
Chioma Uche-Nwosuitsjustchioma.hashnode.dev·Nov 21, 2022Demystifying JavaScript Equality Operators: = vs == vs ===Javascript developers are faced with this question more often than not and can’t answer it. In this article, I’ll explain the differences between each of them. What is “=”? It is called an assignment operator because it is used to assign a value to a...Discuss·11 likes·113 readsJavascriptequality operator in javascript