= = = Operator: Returns False if two value types are different
Returns true if two values are the number type and the values are the same
Returns true if two values are stirng and the string content of two values is the same
Returns true if all two values are true or false
Returns true if two values are pointing to the same Object,arraya or function.
Returns true if all two values are null or undefined.
= = Operator: If two values have the same type, a = = = comparison is made and the comparison value of = = = is returned
It is 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 is converted to 1 and then the false is converted to 0
If one value is object and the other is number or string, the object is converted using valueof () or ToString () to the original type for comparison
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service