🚧 under construction
JS ⟩ operator ⟩ arithmetic ⟩ non-numeric operand
non-numeric operands in arithmetic operations:
that cannot convert to numbers convert to NaN.
if either operand is (or converts to) NaN, the result is (almost always) NaN.
replit:
// Some code
JavaScript: The Definitive Guide ⟩ 4.8
example
Last updated 3 years ago