Subj : Re: Byte Arrays in JavaScript To : Sajid Raza From : Brendan Eich Date : Sun May 23 2004 11:32 am Sajid Raza wrote: > Thanks for the info. The byte arrays are always dense. JSPROP_SHARED > would apply to a particular JSPropertySpec that I define for a class. > However, if I wanted to have the same behavior for property indexes from > 0 to max int, would I be able to do so? By using the resolve hook. > I'm not sure I understand the second sentence. Is there a 'resolve' > function or some method? My ignorance. JSClass.resolve. See jspubtd.h in particular, the JSResolveOp and JSNewResolveOp typedefs and their comments. Look also at js.c for example usage, including JSCLASS_NEW_RESOLVE. /be .