Global Values

Loading...

Overview

See MDN 'Fundamental objects'

undefined

Use undefined, with the strict equality operator ('==='), to determine if a variable has a value.
Example: x === undefined ? "x is undefined" : "x is defined";

undefined