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.



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

Answer / 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

More JavaScript Interview Questions

How to determine the state of a checkbox using javascript?

0 Answers  


What is event in javascript?

0 Answers  


What is a reverse string?

0 Answers  


How to delete a cookie using javascript?

0 Answers  


what is the difference between let, var, and const?

0 Answers  


How do browsers work?

0 Answers  


What is javascript ‘strict mode’?

0 Answers  


Why is javascript dangerous?

0 Answers  


What is the event loop in JavaScript?

1 Answers  


How can I prevent others from reading/stealing my scripts or images?

0 Answers  


What is an undefined value in JavaScript?

0 Answers  


Define anonymous function.

0 Answers  


Categories