Question 2 quiz scope rules

if we return typeof arguments[0] then it will return function
but when we will return typeof arguments0 then it will return undefined. why so?