After completing the JavaScript practice problems I found online, I decided to recreate Makers Academy's Ruby Refresher challenge using JavaScript and Jasmine to further consolidate my (re)learning of JavaScript's structure and syntax.
- JavaScript
- Jasmine
When first starting this project, my goal was to continue to get reacquainted with JavaScript's syntax and structure and to create a series of exercises that I could return to at a later date if I stopped using JavaScript for a substantial period of time. I also wanted to solve each problem using JavaScript best-practices - see answers branch for solutions.
- Covert Ruby Refresher Rspec tests into Jasmine tests
- Add additional questions (e.g. numeral conversion)
- Solve each problem and transfer solutions to answers branch
Clone the repository:
$ git clone [email protected]:andrewhercules/javascript-refresher.git
Change into the directory and run the Jasmine tests:
$ cd javascript-refresher
$ open SpecRunner.html
- Each spec test has been 'x'-ed into pending mode to make it easier when first opening the SpecRunner.html file. Simply remove the x before the each test's "it( ... )" statement
- symbolToString test removed due to limited support for JavaScript's Symbol() and Symbol.for() functions