I understand the difference between undefined and null as a type; I'm just not grasping the following event:
function x() {
return 0;
}
undefined
Why does this happen? What is going on under the hood that is causing the environment to return an "undefined" value?
UPDATE: I'm not invoking the function in the example above, just defining it and the console returns this "undefined" value.