Skip to content
Jobless Busters
JavaScriptQuestion 36 of 36Multiple choice

undefined or not defined?

What happens when this code runs, if x was never declared?

JavaScript
console.log(x);

Choose one answer.

Source: Quiz question based on a card · Full Stack / JS

The answer and explanation come from the source card linked below.