Subj : Re: inheritance To : Thibaut From : Brendan Eich Date : Mon Apr 05 2004 12:49 pm Thibaut wrote: > Hi, > > Hi, > > I'm a beginner in js embedding, how can i create a class derived from > another one ?? ( for example a class Document derived from Node, i know how > to create the Document class , the Node class separatly but i don't know how > to specify that ocument is derived from Node...) If you mean in SpiderMonkey (using jsapi.h), see the parent_proto parameter to JS_InitClass. /be .