From: Ben Giddings Date: 2003-09-05T09:56:56+09:00 Subject: Re: Difference between .. and ... in boolean ranges Sean O'Dell wrote: > Try: if (3..5) === x That'll probably work... but I'm curious to know if Oliver Dain's method is supposed to work: if (x==3)..(x==5) and if (x==3)...(x==5) I'm surprised that they work at all, and I'm curious if the fact they work in some way is a fluke, or if it was a conscious decision to try to let them work like that. I'd expect a syntax error, but then again, ranges as objects confuse me. :) Ben