Skip to content

Homework problems/examples from book "Eloquent JavaScript." Tests are in Jest.

Notifications You must be signed in to change notification settings

rayning0/eloquent-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eloquent JavaScript Exercises

  1. Email me for an invite to Slack, to compare/talk about our answers and ask questions. Join our Slack channels #eloquentjavascript, #introduce-yourself, and #job-search.
  2. Install Homebrew, Node (with nvm), Yarn (step 4), Jest (step 4), and ESLint (step 5).
  3. Our goals.
  4. How to create and run Jest tests. How to install Yarn and Jest. Also follow this Jest setup.
  5. Installing ESLint: Part 1. Part 2.
  6. Using the interactive Node terminal (REPL) to develop algorithms.
  7. The best code editor I've ever used is VS Code. I prefer you use it to code. Set it up with Node. My launch.json file and all my advice teaches you to use VS Code most effectively. How to debug in Node. How to set breakpoints in VS Code and stop your Jest tests on certain lines.

This is how you should write code professionally, with Test-Driven Development (with a test framework like Jest), linting (with ESLint), and playing in an interactive terminal (REPL) to figure out the right algorithm. If you can do all this consistently, you're more likely to be hired as a software engineer.

Homework/example problems from all 21 chapters of the book Eloquent JavaScript.

I put Jest software tests and code in same files, ending with .test.js

To run tests: yarn test

If you finish this book, you'll build these 5 awesome projects you could put on your resume:

  1. A robot
  2. Your own programming language
  3. A platform game
  4. A pixel art editor (like Microsoft Paint)
  5. A skill-sharing website

Who wants to finish all 21 chapters with us? Please don't view my solutions before trying your own.

By Raymond Gan

About

Homework problems/examples from book "Eloquent JavaScript." Tests are in Jest.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages