Question: undefined is not an object meaning?
Answer: Undefined is also a primitive value in JavaScript. A variable or an object has an undefined value when no value is assigned before using it. ... typeof undefined will return undefined not an object. In the above example, we have not assigned any value to a variable named 'myVar'. A variable 'myVar' lacks a value.