Subj : Re: Can SpiderMonkey add support for default method? To : Li Monan From : Brendan Eich Date : Tue Jun 22 2004 09:50 am Li Monan wrote: > In JScript, people can write > > CollectionA(1)="abc"; > > and JScript-Engine execute it like > > CollectionA.Item(1)="abc"; > > Can SpiderMonkey support this feature? Yes. See JS_SetCallReturnValue2 and its example usage in js.c. /be .