Brendan Eich wrote: > On Mar 26, 2008, at 10:01 AM, Ric Johnson wrote: > >> Let us take action instead of throwing opinions around: >> Brendan: What new features that can not be implemented via code >> constructs now? > > This is reductionism, therefore between silly and wrong, but I will list > a few things: > > * you can't make read-only properties in ES3; > > *you can't make don't-delete properties of plain old objects (only vars > in closures); > > * you can't make objects that cannot be extended; > > * you can't make don't-enum properties in plain old objects;
It looks like these omissions will be corrected in ES3.1 by the Object.defineProperties function. These essential features will be added without resorting to new syntax. _______________________________________________ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss