meaning of NaN (Not a Number) in JavaScript, and how is it used? code example Example: nan in js var val = Number.NaN;