JavaScript type coercion is the magic when a variable is casted to another type to execute. It can be a real pain if you don't know what's happening.