Hello,

So I'm debugging some javascript on a site I'm working on, in one part
I get the current year with getFullYear(). The value seems to be
coming out correct, but firebug keeps telling me that g.getFullYear is
not a function in the console view. The only line I use getFullYear
is:

        function getCurrentYear() {
                today = new Date();
                return today.getFullYear();
        }

Any suggestions on what I'm missing?
I'm using Firefox 3.5.3 on Vista 64 Home. Any suggestions are welcome.

Thank you for your time

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to