Open in app
Mohammad Faisal
242 Followers
About

Sign in

242 Followers
About
Open in app
Rule 7 says: should be used "==="
8
1

Michal Blaha

Mohammad Faisal

Mohammad Faisal

·Dec 20, 2020

=== is for comparing two values. === is recommended to avoid the risk of type safety.

== is for used for checking the type itself. So it shouldn't be an issue

More from Mohammad Faisal

Passionate about Clean code and SOLID Architecture

More From Medium

10 Lessons That Helped Me Grow As A Developer

Mohammad Faisal in JavaScript In Plain English

Document Your React Applications The Right Way

Mohammad Faisal in JavaScript In Plain English

8 Ridiculous NPM Packages I Wish Didn’t Exist

Mohammad Faisal in JavaScript In Plain English

How to Run Queries 2600 Times Faster

Mohammad Faisal in Level Up Coding

5 Truths About Software Design

Mohammad Faisal in JavaScript In Plain English

How to Add Linting and Formatting for your React App

Mohammad Faisal in JavaScript In Plain English

Using sudo Is Bad but What Can You Do About It?

Mohammad Faisal in Level Up Coding

How to Setup and Add Google Analytics to your React App

Mohammad Faisal in JavaScript In Plain English

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store