![]() The equality operator does the hard part by itself. If any necessary conversion required then, it converts the type first and then compares the values. ![]() Javascript equality operator (=)īefore any comparison, the equality operator checks for type conversion between two values. But, there is a fundamental concept that makes these two operators very much different. Today I am comparing equality (=) and identity operator (=) in javascript.īoth of these operators work pretty similarly with value checks. Comparing Equality Operator and Identity Operator in JavaScript
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |