I'm not sure whether this is strictly a Firebug question or really a JavaScript question...
In the popdown menu under Firebug's Console tab, I normally keep
Show JavaScript Errors enabled, and
Show JavaScript Warnings disabled. Out of curiosity I just turned the
Warnings on and reloaded a page I'm building. As before, the page shows no errors, but now it shows three warnings (with the exclamation mark in a yellow circle icon).
Two of the warnings say something like "TypeError: function foo does not always return a value". I don't understand why that's an issue. Is a function required to always return a value? I never heard that. And why would that be a "type error" anyway? I associate type errors with something like trying to pass a non-number to something that needs a number, etc.