项目作者: thebinaryfelix

项目描述 :
Exercises from the book Eloquent Javascript
高级语言: JavaScript
项目地址: git://github.com/thebinaryfelix/eloquent-javascript-exercises.git


JavaScript Practice

This repository has resolutions for the exercises proposed on Eloquent JavaScript, a book by Marijn Haverbeke, 2nd Edition.

To execute the code from the src folder with NodeJS, you should compile the code with Babel.

  1. $ git clone https://github.com/thebinaryfelix/eloquent-javascript-exercises.git
  2. # done clonning
  3. $ npm install
  4. # installed dependencies
  5. $ npm run build

A dist folder will be created on the root directory. There, the code can be executed using node command.

node dist/chapters/chapter{number}/{filename.js}

Tests

Tests can be found inside src/chapters/.../__tests__

Running tests

  1. npm test