99 Bottles of OOP examples in JavaScript
- Clone this repository:
git clone git@github.com:asalisbury/99bottles_js.git
- Install dependencies:
yarn install
- Run the test suite:
yarn test --watch
- Remove
.skip
from the first test that has it. - Make the test pass.
- Repeat steps 4 and 5 until all of the tests are green.
Tips:
function numberRange(upper, lower) {
return Array.from(Array(1 + upper - lower), (_, i) => i + lower).reverse();
}
// ✨ JavaScript ✨