The equal sign (=) is only used as an assignment operator. For two values, the equal operator (==) or the whole operator can be used (===)
Note that the full-class operator does not distinguish between different numerical data types. Be sure to make sure that the difference between the assignment operator, the equal operator and the full operator
The equal operator will perform type conversion to check the same value. In the JScript code line below, string "42" will be converted to a number before comparing with numeric 42. The result is TRUE. 42 == "42";