undefined example:
console.log(a)
// memory reserved for a
var a = 5;
console.log(a)
Output:
undefined
5
Not defined example:
console.log(b)
// No memory is reserved
Output:
Uncaught reference error: b is not defined
undefined example:
console.log(a)
// memory reserved for a
var a = 5;
console.log(a)
Output:
undefined
5
Not defined example:
console.log(b)
// No memory is reserved
Output:
Uncaught reference error: b is not defined
For further actions, you may consider blocking this person and/or reporting abuse
Dany Paredes -
Dipak Ahirav -
Akash Yadav -
Megan Lee -
Top comments (0)