Isaac Arinlamyscript.hashnode.dev·Nov 24, 2024Loose Equality(==) and Strict Equality(===) operators in JavaScriptIntroduction It is essential to know how the equality process works in JavaScript to create a reliable and predictable script. Two basic operators used for comparing values are Loose Equality (==) Strict Equality (===) While most developers might...JavaScript
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,...Code Kickstart: A Beginner’s Journeyrelational 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 ...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...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...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...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...2 likesequality 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...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 (===)...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...7 likes·384 readsJavaScript