Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5c0590a

Browse files
docs(README): add docs
1 parent f9c329d commit 5c0590a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

‎README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# JavaScript Practice
2+
3+
This repository has resolutions for the exercises proposed on [Eloquent JavaScript](https://eloquentjavascript.net/), a book by Marijn Haverbeke, 2nd Edition.
4+
5+
To execute the code from the `src` folder with NodeJS, you should compile the code with Babel.
6+
7+
```bash
8+
$ git clone https://github.com/thebinaryfelix/eloquent-javascript-exercises.git
9+
# done clonning
10+
$ npm install
11+
# installed dependencies
12+
$ npm run build
13+
```
14+
15+
A `dist` folder will be created on the root directory. There, the code can be executed using `node` command.
16+
17+
`node dist/chapters/chapter{number}/{filename.js}`
18+
19+
## Tests
20+
21+
Tests can be found inside `src/chapters/.../__tests__`
22+
23+
### Running tests
24+
25+
```bash
26+
npm test
27+
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /