> - What about primitives?Are there primitive types and object types? Is the > union of the two called just “types”? > > A member of one of the types Undefined, Null, Boolean, Number, or String > http://es5.github.com/#x4.3.2 > Everything else is an object.
Yes that is probably the most elegant way of defining the term. Afterwards, one can go on and describe how primitives work. > - If instance factory B inherits from instance factory A, is B a subclass of > A? B a subtype of A? B a subconstructor of A? > > B inherits A's prototype, A is in B's "prototype chain" B.prototype inherits A.protoype. A.prototype is a prototype of B. prototype (ugh). -- Dr. Axel Rauschmayer [email protected] home: rauschma.de twitter: twitter.com/rauschma blog: 2ality.com
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

