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

what is pop()method in JavaScript?

0 Answers  


What is a name function in javascript & how to define it?

0 Answers  


Is a javascript script faster than an asp script?

0 Answers  


Which built-in method returns the string representation of the number’s value?

0 Answers  


What is scope chain in javascript?

0 Answers  


Name some of the ways in which Type Conversion is possible?

0 Answers  


How to call a function inside a function in javascript?

0 Answers  


Explain javascript closures by example.

0 Answers  


How to create function in JavaScript?

0 Answers  


What is the Infinity property used for in Javascript?

0 Answers  


What is output of undefined * 2 in javascript?

0 Answers  


What is an external javascript?

0 Answers  


Categories