Re: clone function

Sterling Bates <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Berserker wrote:

> How can I clone a function of an object? I tried with JS_DefineProperty, but
> that's not what I need...

It looks like you want the JS_CloneFunctionObject API.  Also note this 
should be posted to n.p.m.jseng (follow-up set).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.