Controlling DontEnum (was: ES4 draft: Object)

Peter Hall peter.hall at memorphic.com
Thu Mar 13 11:38:10 PDT 2008


Is there enough value in complicating matters by adding the ability to
set dontDelete and readOnly? You can create non-deletable properties
by using a class or record type, and you can create read-only
properties by adding a get function without a corresponding set...

Are there any use cases where these solutions won't cover it?

Peter



More information about the Es4-discuss mailing list