Subj : Re: argv argument to JS_InstanceOf To : netscape.public.mozilla.jseng From : Braden McDaniel Date : Thu Aug 14 2003 12:37 am On Sun, 10 Aug 2003 22:16:26 -0700, Brendan Eich wrote: > What the docs are trying to say is that if you want to check whether an > object is an instance of a class without errors (as exceptions, unless > OOM, in the modern engine) being reported/thrown, pass NULL for argv. > If you are OTOH calling JS_InstanceOf from a native function and *want* > an error report implicating the native's "obj" parameter as not being of > the right class, while also naming the native function, then pass argv. Will vp work just as well when inside a JSPropertyOp? -- Braden McDaniel e-mail: Jabber: .