Now that we're set up with Jasmine, we can start writing code.
In this challenge, you will test-drive FizzBuzz in JavaScript, using Jasmine.
In case you've forgotten the rules of FizzBuzz:
- Print the numbers from 1 to 100
- If a number is divisible by 3 print "Fizz" instead
- If a number is divisible by 5 print "Buzz" instead
- If a number is divisible by 3 and 5 print "FizzBuzz" instead
- Use Jasmine to Test-Drive Development
- Write FizzBuzz in JavaScript, fully test-driven
- Refactor the code so it's clean.