Hi Brendan,
ES3.1 has Object.freeze, but you have to call it. This is ineffecient and slightly hazardous, compared to a declarative form that makes an immutable function from the start. The other advantage, of course, is better syntactic UI -- sweet sugar. Opinions vary on what's sweet, but
I was thinking a new keyword that applied to any declaration would do the trick in a more generic and syntactically sweet way.
Cheers, Michael -- Print XML with Prince! http://www.princexml.com _______________________________________________ Es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

