# JavaScript Overview – Type Conversion

Values are converted automatically whenever needed (and if possible), and operators are left-associative. When converting, be aware of weak equality statements, such as the following:

                if ("4" == 2 * 2)	// true
    if ("4" === 2 * 2)	// false

“False” values convert to false (undefined, null, 0, -0, NaN, “”), and all other values convert to true (if (“false”) {…} // true).