Skip to content

πŸ“š Collection of JavaScript exercises and coding challenges.

Notifications You must be signed in to change notification settings

RepublicServicesRepository/javascript-exercises

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

29 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

JavaScript Exercises

Collection of JavaScript Exercises and Coding Challenges

Stars Last Commit


Series of interesting JavaScript exercises that I solved during my education. For each exercise I've tried to include several possible solutions. Thanks to Jest test framework you can easily check the correctness of your solution.


Table of Contents


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


Contributing

All contributions and suggestions are welcome! For suggested improvements, please create an issue. For direct contributions, please fork the repository, create your feature branch, commit your changes, push commits to the branch and create a new pull request.

About

πŸ“š Collection of JavaScript exercises and coding challenges.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%