On Mar 4, 12:17 pm, Marc Guillemot <[email protected]> wrote:
> > ECMA is pretty clear that ToBoolean on an object is true. Why would
> > you want to change this?
>
> I can't answer for Marcello but personally I want to be have the
> possibility *not* to follow Ecma spec to mimic browser behavior.
> Have a look at following bug from October 
> 2008:https://bugzilla.mozilla.org/show_bug.cgi?id=460268

This is a reasonable special case to emulate for browser
compatibility, probably under a flag. IIRC this is behavior that
existed before ECMA standardization and the browsers have carried it
forward.

>
> Cheers,
> Marc.
> --
> Web:http://www.efficient-webtesting.com
> Blog:http://mguillem.wordpress.com
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to