Type Mismatch in Comparison
Erroneous Code Example
This error occurs when you compare a property with a value of a different type. In this example, theage
property is an integer, but the comparison is done with a string value.
age
property is an integer, but the comparison is done with a string value.