Subj : Catching spidermonkey copying a native object To : netscape.public.mozilla.jseng From : warrick@chimeric.co.uk (Warrick) Date : Mon Apr 05 2004 02:43 pm Hi, I'm a bit confused as to how the copying of objects work. I have embedded a native object and that all works fine so I can do: var v = new NativeObj(); but then if I do: var v2 = v; I'm not getting my native constructor called that I defined in my jsclass structure? I want to catch the copy as I need to do 'special native' things if the object is copied. I'm sure I'm missing something simple! .