Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain the difference between == and === in JavaScript.

Answer Posted / hr@tgksolutions.com

• == (Abstract Equality) compares values without considering data type (performs type coercion).
o Example: 5 == "5" → true
• === (Strict Equality) compares both value and type.
o Example: 5 === "5" → false

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is JavaScript?

1899


What is the dollar sign in javascript?

982


What is the difference between client side javascript and server side javascript.

1075


What is the default data type in javascript?

949


How use javascript html?

874


How long does it take to get good at javascript?

887


How do I turn on javascript?

868


What is global variable in javascript?

924


What is hoisting in javascript?

932


Is javascript faster than asp script?

1044


How do you submit a form using JavaScript?

930


What is javascript? List some data types supported by javascript?

999


What is eval() in javascript?

1067


What are the datatypes in javascript?

906


How to Object.entries( ) In JavaScript ?

1031