I was wandering why the following BooleanValue() statements always return true, shouldn't the first one return false ? Also why both IsTrue() and IsFalse() return false in the statements below ? Is there a bug or am i missing something here ?
bool test0 = BooleanObject::New(false)->BooleanValue(); = truebool test0t = BooleanObject::New(false)->IsTrue(); = false bool test0f = BooleanObject::New(false)->IsFalse(); = false bool test1 = BooleanObject::New(true)->BooleanValue(); = true bool test1t = BooleanObject::New(true)->IsTrue(); = falsebool test1f = BooleanObject::New(true)->IsFalse(); = false Thanks. -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
