Project Details
Language: JavaScript
TDD tool: Jasmine
Author: Ayeni Blessing
Version: 0.0.1
aritGeo function, test spec and program
fizzBuzz function, test spec and program
A function called 'aritGeo' that takes one argument, an Array. if checks if the array passed as an argument is Arithmetic, Geometric or neither Arithmetic nor Geometric. if argument is arithmetic progressions, it returns Arithmetic, if argument is geometric progressions, it returns Geometric, if argument is neither Arithmetic nor Geometric it returns -1 and if argument is empty it returns null
A function called `fizzBuzz` to return 'Fizz', 'Buzz', 'FizzBuzz', or the argument it receives, all depending on the argument of the function, a number that is divisible by, 3, 5, 3 and 5, respectively. When the number is not divisible by 3 or 5, the number itself isreturned.