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

Appearance settings

RepublicServicesRepository/javascript-exercises

Open more actions menu
ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

29 Commits
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

 
 
 

Contributors

Languages

  • JavaScript 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.