First page Back Continue Last page Overview Graphics

Need property attribute control

ES3 semantics define per-property attributes:

ReadOnly → writable: does assignment work?

DontEnum → enumerable: does for-in see it?

DontDelete → configurable: can its shape change?

ES3 code can only create properties that are

writable, enumerable, and deletable.

Now controllable by ES5 code.