帮酷LOGO
0 0 评论
  • 显示原文与译文双语对照的内容
文章标签:STA  PROP  Stage  ecmascript  ecma  ECM  
es7-features

  • 源代码名称:es-next
  • 源代码网址:http://www.github.com/hemanth/es-next
  • es-next源代码文档
  • es-next源代码下载
  • Git URL:
    git://www.github.com/hemanth/es-next.git
  • Git Clone代码到本地:
    git clone http://www.github.com/hemanth/es-next
  • Subversion代码到本地:
    $ svn co --depth empty http://www.github.com/hemanth/es-next
    Checked out revision 1.
    $ cd repo
    $ svn up trunk
    
  • stage-0到 stage-4 ECMAscript建议。

    目录:

    阶段 0:

    Stage-0

    // const classconstclassPoint { 
     constructor(x, y) {
     publicgetX() { return x; }
     publicgetY() { return y; }
     }
     toString() { 
     return`<${this.getX()}, ${this.getY()}>`;
     }
    }

    关系

    Stage-0

    x @ r // The object x is in the r relationship with what value?x @ r = y; // Store that x is in the r relationship with value y.

    String.prototype.at

    Stage-0

     
      
      
    '   
    abc   
     


    文章标签:STA  PROP  ecma  ECM  ecmascript  Stage  

    Copyright © 2011 HelpLib All rights reserved.    知识分享协议 京ICP备05059198号-3  |  如果智培  |  酷兔英语