Domenic Denicola wrote:
From: Anne van Kesteren [[email protected]]
Is there a better way?
```
<video>.startDate() !==<video>.startDate()
```
Using a method instead of a getter is better style where the result is
generated on each call, but doesn't get at Anne's question.
IIRC Mark has thoughts about freezing of Date objects, since inability
to freeze Date.prototype leaves a side channel.
(BTW, Anne's righteous != and your !== are equivalent per that invariant
:=P. More significant, neither will work as wanted with reference-type
objects such as Dates. But that no-value-type-for-Date issue is a
different topic from the one at issue, I hope!)
/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss