Marius Gundersen (2013-09-08T00:15:21.000Z)
> That's the way ToBoolean has always been defined
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-7.1.2 . All
objects are considered to be Boolean true values.

So does this mean I can override toBoolean to change the way ! behaves on
an object?

Marius Gundersen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130908/feda4b72/attachment.html>
domenic at domenicdenicola.com (2013-09-18T19:01:28.351Z)
> That's the way ToBoolean has always been defined http://people.mozilla.org/~jorendorff/es6-draft.html#sec-7.1.2 . All objects are considered to be Boolean true values.

So does this mean I can override toBoolean to change the way `!` behaves on an object?