On Tue, Jun 8, 2010 at 11:13 AM, Aaron Boodman <[email protected]> wrote: > On Tue, Jun 8, 2010 at 11:09 AM, vlad <[email protected]> wrote: >> "any = new Boolean(false);" > > Not a bug. This is a classic javascript thing. Try this in JavaScript > (no v8 required): > > var foo = new Boolean(false); > alert(foo == true); // says "false" > > The problem is that: > > alert(typeof foo); // says "object", not "boolean" > > - a >
-- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
