Junior
What are undeclared variables?
sobes.tech AI
Answer from AI
Variables that have not been assigned a value and have not been declared using the keywords var, let, or const. Accessing such a variable will cause a ReferenceError.
// console.log(myVariable); // Will cause a ReferenceError