what is difference between == and === operator…?
== compares only the value but === compares value as well as data type.
== operater check value is equal
while === checks value as well as datatype.
== only compares the values stored in variable ,where as === compares both values and datatypes .
== it compares only the values
=== it compares both the value and that a type
== will check value and === check data type and value
== is compares only the values
=== is compares both value and data type
== compares the value
=== compares the values and data type
== compare only the value
ex:- a==a
=== compare both the value and data type
ex:- a===string
== compare only the value
=== compare both the value and data type(=== strictly equal to )
== compares the value and === will compare the value as well as data type
== is only to check the value
===is to check both value and datetype
== used for compare the value
=== user for compare both value and datatype
== check value is equal
=== checks value as well as datatype
== is used to checks value
=== is used to check value as well as data type
The difference between them is that the double equal sign (==) compares only the values of the two operands, while the triple equal sign (===) compares both the values and the types of the two operands.
== compares the values
=== compares the values and data type of the element
== operator does the “type conversion” of the operands before comparison
=== operator compares the values as well as the data types of the operands
== is used to compare just values… Whereas === compares both values and data types
== compares only value is same or not but === compares values as well as data types