This repository contains a running application that offers a second JS solution to the string calculator problem. Please see the Requirements file for full details of this problem. This is the second attempt at the problem, for the first attempt see: string-calculator
npm install
jasmine
Jasmine
I aimed at all times to do the smallest possible thing & to write the kata in a TDD way. I followed a Red, Green, Refactor cycle.
I installed lodash as a dependency to use a wider variety of enumerators, rather than repetitive for loops.
For the next version of the String Calculator I'd like to make the following improvements:
- Be more accurate in my use of delimeters & regex - so each number is separated by its the specific character next to its number
- Have all of my syntax using ES6 syntax