Cameron McCormack wrote: > In particular, unary ! won’t invoke valueOf on the object. It just > evaluates to true for any object. You mean false, right? > Even more troublesome would be == and !=. If you had rect.x and rect.y > both be SVGAnimatedLengths whose values were 10, then rect.x == rect.y > will evaluate to false, since == will check for object identity. === checks for identity. == does not, last I checkd and in fact there are plenty of cases around in Gecko where == tests true on a pair of objects while === tests false... No comment on confusion value... -BorisReceived on Friday, 24 July 2009 02:18:07 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 24 July 2009 02:18:09 GMT