Allen Wirfs-Brock wrote: > Object.create's heritage is Doug Crockford's beget function and its primary > purpose is to provide a more direct way to create an object with an > explicitly specified prototype.
I think the name Object.createHeir would clarify its use better. -- Ingvar von Schoultz ------- (My quirky use of capitals in code comes from my opinion that reserved and predefined words should all start with lowercase, and user-defined should all start with uppercase, because this will easily and elegantly prevent a host of name-collision problems when things like programming languages are upgraded with new labels.) _______________________________________________ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss