type coercion

Type Coercion refers to the process of automatic or implicit conversion of values from one data type to another. This includes conversion from Number to String, String to Number, Boolean to Number etc. when different types of operators are applied to the values.
JavaScript’s equality operator (==) coerces its arguments, leading to unexpected behaviour:
```
if ("" == 0) {
  console.log("Unexpected behavior")
}
x = 100
if (1 < x < 3) { //1 < x < 3 actually is doing this: (1 < x) < 3, where (1 < x) is 0 or 1, which is less than 3
  console.log("Unexpected behavior")
}
```