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-1.6.0.3 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 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to