Subj : Re: Readonly property To : Andrew Chum From : Brendan Eich Date : Wed Jun 04 2003 10:26 am Andrew Chum wrote: > I want to create a readonly property of an object through C API. I > understand that the property cannot be changed at runtime, but I want to > change it through C API at runtime. Is it possible? And how? You could just redefine it with JS_DefineProperty each time you want to change its value, even as you define it each time as JSPROP_READONLY. /be .