[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Long chains of objects (aka tables)
- From: Jay Carlson <nop@...>
- Date: Sun, 18 May 2014 12:59:43 -0400
On May 18, 2014 12:05 PM, "Andrew Starks" <andrew.starks@trms.com> wrote:
> However, if anything were to be done, it must make things clearer. So, which is clearer to you:
>
> ```
> --Do we have have an item, with a background color?
> if not (document.body.item
> and document.body.item.style
> and document.body.item.style.backgroundColor) then
> ....
> end
>
>
> --or (accepting alternate forms of the OP's style (|?.| or what have you)
>
> if not document.body?item?style?backgroundColor then
> ...
>
> end
What's inside the body of the "if"?
- References:
- Long chains of objects (aka tables), Thiago L.
- Re: Long chains of objects (aka tables), Jay Carlson
- Re: Long chains of objects (aka tables), Thiago L.
- Re: Long chains of objects (aka tables), Roberto Ierusalimschy
- Re: Long chains of objects (aka tables), Andrew Starks
- Re: Long chains of objects (aka tables), Andrew Starks
- Re: Long chains of objects (aka tables), Philipp Janda
- Re: Long chains of objects (aka tables), Thomas Jericke
- Re: Long chains of objects (aka tables), Thiago L.
- Re: Long chains of objects (aka tables), Andrew Starks