How can you describe === operator?

 Posted by Kmandapalli on 2/5/2014 | Category: ASP.NET Interview questions | Views: 664 | Points: 40
Answer:

The identically equal operator is represented by three equal signs "===" and returns true only if the operands are equal without
conversion, as in this example
Code:
var result1 = (“55” == 55); //true - equal because of conversion
var result2 = (“55” === 55); //false - not equal because different data.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response