Coercion
↔ (mechanism) to Implicit auto convert Type of Primitive Operand by JS Compiler
aka Coerce, Coerces, Type-Coercion
References
Truthy
↔ value consideredtrue
(in Boolean Context) via CoercionFalsy
↔ value consideredfalse
(in Boolean Context) via CoercionString Mode
↔ If one Operand isstring
, Coercion other to string, & return concatenated stringNumber Mode
↔ If no Operand isstring
, Coercion tonumber
& return sum==
↔ loose Equality Operator, applies Coercion!=
↔ loose INEquality Operator, applies CoercionisNaN()
↔ Instance Method returnsboolean
if Argument isNaN
or not; applies CoercionBoolean Context
↔ whether Value Coerces to Truthy || FalsyBitwise Assignment Operator
↔ JS Operator to Coerce Operand to 32-bit binary, compute math as bits & return asnumber