Summary:
= = = Operator:
Returns False if two value types are different
Returns true if all two values are of type number and the values are the same
Returns true if all two values are stirng and the string content of the two value is the same
Returns true if all two values are true or both are false
Returns true if all two values point to the same Object,arraya or function
Returns true if two values are null or both are undefined
= = Operator:
If two values have the same type, the = = = comparison is made, and the comparison value = = = is returned
It is also possible to return true if two values do not have the same type
Returns true if one value is null and another value is undefined
If one value is a string and the other is number, the string is converted to number and then compared
If a value is true, it will be converted to 1 and then the false will be turned to 0.
If a value is object and the other is number or string, the object is converted to the original type using ValueOf () or ToString () and then compared
Comparison between = = and = = = operator in JS