Undefined

Undefined in JavaScript

Undefined represents the absense of a value.

Some functions, such as console.log() return undefined because there's no value to return.

When declaring a variable that hasn't been initialized to a value, that variable returns undefined.