wbpmrck / ECMAScript-study

this project has many study cases for learning ECMAScript basics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ECMAScript-study

this project has many study cases for learning ECMAScript basics.

Pre-Requirements

  • Node.js installed (V6.9.1 on my mac)
  • Mocha test runner installed (V3.1.2 on my mac)

Usage

  • npm install

    • it will install the "chai.js" assertion framework.
  • use mocha testrunner to run these study cases

    $ ./runTest.sh 
    
  • see the console log to validate the code output.

    • here is some example output:
        --------[ES6.core.generator]  [learn the basic of generator]:-------->>START
        
        
        ------No:1----->>START
        Tue Nov 29 2016 15:50:31 GMT+0800 (CST):First
        Tue Nov 29 2016 15:50:33 GMT+0800 (CST):Second
        ------No:1----->>END
        
        ------No:2----->>START
        Tue Nov 29 2016 15:50:33 GMT+0800 (CST):first:Jane
        Tue Nov 29 2016 15:50:33 GMT+0800 (CST):last:Doe
        ------No:2----->>END
        
        ------No:3----->>START
        Tue Nov 29 2016 15:50:33 GMT+0800 (CST):gen begin
        Tue Nov 29 2016 15:50:33 GMT+0800 (CST):receive data:undefined
        ------No:3----->>END
        Process finished with exit code 0
    
    

About

this project has many study cases for learning ECMAScript basics.

License:GNU General Public License v3.0


Languages

Language:JavaScript 99.5%Language:Shell 0.5%