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.
Clone the repo.
$ git clone https://github.com/appalaszynski/switch-gulp-to-webpack.gitInstall Jest globally.
$ npm install -g jestEach exercise directory contains index.js file with exercise contents and test.js file with tests validating solution correctness.
$ jestTo run test for specific exercise simply add its directory path to jest command, e.g.
$ jest exercises/ReverseStringYou can also run Jest in watch mode by adding --watch flag.