New Feature to JS 1.7

Eugen.Konkov at aldec.com Eugen.Konkov at aldec.com
Mon Sep 24 23:33:24 PDT 2007


As js4 will support OOP natively, this feature will useless for it
but for js1.7 it will be usefull.
In js1.7 I can not call next function from prototype chain
For example: 
function A(){};
A.prototype.f1= function(){};
function B(){};
B.prototype= new A(){};
B.prototype.f1= function(){ /*How call f1 from prototype A?*/}
There will be usefull to have next property:

B.prototype.f1= function() { arguments.inherit( this, arguments ); /*use full feature to call next function in prototype chain */ };
  ----- Original Message ----- 
  From: Brendan Eich 
  To: <Eugen.Konkov at aldec.com> 
  Cc: Es4-discuss at mozilla.org 
  Sent: Monday, September 24, 2007 7:29 PM
  Subject: Re: New Feature to JS 1.7


  JS1.7 shipped in Firefox 2 and it is "done". This list is for discussion of ECMA-262 Edition 4 (ECMAScript 4, es4) features and design decisions. See http://www.ecmascript.org/.


  /be


  On Sep 24, 2007, at 12:18 AM, <Eugen.Konkov at aldec.com> <Eugen.Konkov at aldec.com> wrote:


    Hello
    Where can I post request for new feature to JavaScript 1.7?
    _______________________________________________
    Es4-discuss mailing list
    Es4-discuss at mozilla.org
    https://mail.mozilla.org/listinfo/es4-discuss




  __________ NOD32 2547 (20070924) Information __________

  This message was checked by NOD32 antivirus system.
  http://www.eset.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mozilla.org/pipermail/es-discuss/attachments/20070925/1622ff20/attachment-0002.html 


More information about the Es4-discuss mailing list