var x=5; var y="5"; var resultA = x==y; //Evaluates to true var result = x===y; //Evaluates to false
==, !=, >, <, >=, <= operators to compare two objects. It also includes the
!== operators that are type sensitive. For example,
1=="1" evaluates to
1==="1" does not because the first is a numerical type and the second is a string type.