Frozen Date objects?

Domenic Denicola domenic at domenicdenicola.com
Wed Jul 17 12:52:10 PDT 2013


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...


More information about the es-discuss mailing list