[dojo-contributors] Re: dojo.lang.isUndefined()
bob at redivi.com
Thu Jun 29 18:45:50 EDT 2006
On Jun 29, 2006, at 2:55 PM, Alex Russell wrote:
> On Thursday 29 June 2006 12:15 pm, Aaron Boodman wrote:
>> Also, in Firefox this will raise a warning in the JS console if
>> strict mode is enabled.
> Firefox's console is nearly useless these days. They really screwed up
> by logging CSS "errors". Thank god for Firebug.
>> I just stopped writing code like this and
>> used the typeof test directly each time. :-/
> Gah. That seems like giving up in the wrong place to me.
Well, it's not possible to write a function that tests whether a
global is defined or not (unless you check them as properties of
global object). That's what dj_undef does isn't it?
More information about the dojo-contributors