Skip to content

📚 Collection of JavaScript exercises helpful in learning this language.

Notifications You must be signed in to change notification settings

SeuZeRicardo/javascript-exercises

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


JavaScript Exercises

Collection of JavaScript exercises great for preparing for an interview



Series of interesting JavaScript exercises that I solve during my education. For each exercise I included several possible solutions. Thanks to Jest test framework You can easily check the correctness of Your solution.


Table of Contents


Prerequisites


Installation

Clone the repo.

$ git clone https://github.com/appalaszynski/javascript-exercises.git

Install Jest globally.

$ npm install -g jest

Usage

Each exercise directory contains index.js file with exercise contents and test.js file with tests validating solution correctness.

Running all tests

$ jest

Running tests for specific exercise

To run test for specific exercise simply add its directory path to jest command, e.g.

$ jest exercises/ReverseString

You can also run Jest in watch mode by adding --watch flag.


Exercises

About

📚 Collection of JavaScript exercises helpful in learning this language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%