Type coercion (type conversion, type casting) is the process of changing an expression from one data type to another.
The JavaScript interpreter, for example, implicitly coerces, or converts, some data types to another in certain expressions, then performs the operation. The rules for coercion of string, number, or boolean values are as follows: