I've also seen this "bug", it's producing a warning in firefox-console
if config is set to javascript.options.strict == true;
Also jslint produces a "Expected a conditional expression and instead
saw an assignment"-warning for this.
this is not very nice style, in my opinion, but it works.

On Nov 14, 2:27 am, "T.J. Crowder" <[EMAIL PROTECTED]> wrote:
> It's not great style, but yes, I'm fairly certain it really does mean
> to be doing an assignment there and then testing the result of the
> assignment for falsity.  E.g.:
>     params = Object.toQueryString(params);
>     if (params) {
> Why?  Did it just look like a bug to you, or were you looking into
> some kind of problem?
> --
> T.J. Crowder
> tj / crowder software / com
> On Nov 14, 1:06 am, yama <[EMAIL PROTECTED]> wrote:
> > Is the description correct?
> > prototype- line 1212
> >     if (params = Object.toQueryString(params)) {...
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to