From: "Marcel Molina Jr." Date: 2005-06-02T05:50:14+09:00 Subject: Re: ternary operator confusion On Thu, Jun 02, 2005 at 01:40:23AM +0900, Phrogz wrote: > true ? a.push(1) : a.push(2) i suspect this could have been just a contrived example but you could also do: a.push true ? 1 : 2 marcel -- Marcel Molina Jr.