Frozen Date objects?

Nathan Wall nathan.wall at
Fri Jul 19 07:53:29 PDT 2013

Domenic Denicola wrote:
> I believe exposing `[[DateValue]]` as a (non-private) symbol-keyed property would do the trick, since `Object.freeze` seems to set all property keys to non-writable/non-configurable.
> This seems like it would be a backward-compatible change. But it's so simple I imagine it's been discussed before. I await hearing where it falls down...

Last time I asked, `Object.freeze` & friends don't affect existing symbol properties on an object (though new ones can't be added).  I think this is pretty important.  Has this changed?


More information about the es-discuss mailing list