What is the output of the following code?
try {
console.log(a);
} catch (e) {
console.log(e.message);
}
a is not defined
ReferenceError: a is not defined
Undefined
Throws no error
This question is part of this quiz :
Error Handling and Debugging