Logical operators don't use valueOf()
gundersen at gmail.com
Sat Sep 7 09:10:17 PDT 2013
While playing around with valueOf, I discovered that three operators (!,
||, &&) don' seem to use valueOf when you use them. You can test this in
your preferred browser here: http://lab.mariusgundersen.net/valueOf
Is there a reason for this? Shouldn't these operators work the same way as
the other operators?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss