Subj : Re: Object caller references To : netscape.public.mozilla.jseng From : Neil Stansbury Date : Tue Aug 09 2005 10:05 pm Hi Martin, Martin Honnen wrote: > Which this? If you simply call the above code at the global level then Yep apologies I meant to imply 'this' was the caller object not global > So whether using functioObject.caller is bad form depends on where you > want to use it This is for use in XPCOM interfaces, though following the spec. is good in principal anyway. From a bad form perspective how _do_ people initialise read only properties in objects without calling an init() method? There are loads in interfaces that do but I can figure out how to duplicate without init() methods everywhere! Cheers, N .