I understand why you called them constants. I'm seeing it from the POV that:

    function x() { }

x is of type function

   var foo = undefined

foo is of type undefined (rather than of type var IMO)

which is validated by

   typeof foo == 'undefined'

similar to C...

    int x = 0;

x is of type int