if(foo) would be the same (null or undef.)

the same as (null or undef. or false)

the last one make the bug in this case because false was a valid value
which should not replaced with true :-(.



2007/4/5, Matthias Wessendorf <[EMAIL PROTECTED]>:
JSEclipse also.
We use it in Trinidad and RCF

we return sometimes undefined.

something like
if(foo) would be the same (null or undef.)

-M

On 4/5/07, Volker Weber <[EMAIL PROTECTED]> wrote:
> three '=' ?
>
> IDEA seems to know this, but i can't find any documentation.
>
> 2007/4/5, Matthias Wessendorf <[EMAIL PROTECTED]>:
> > transition === undefined
> >
> > -M
> >
> > On 4/5/07, Volker Weber <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > my fault, and already corrected localy. I somehow miss to commit it.
> > >
> > > > -    if (!transition) {
> > > > +    if (transition == null) {
> > >
> > > but it should be
> > >
> > > if (typeof transition == "undefined")
> > >
> > > there is a difference between null and undefined which makes me
> > > problems in the past,
> > > i don't remember where, but in this case the undefined is the correct one.
> > >
> > > Regards,
> > >   Volker
> > >
> >
> >
> > --
> > Matthias Wessendorf
> > http://tinyurl.com/fmywh
> >
> > further stuff:
> > blog: http://jroller.com/page/mwessendorf
> > mail: mwessendorf-at-gmail-dot-com
> >
>


--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to