FizzBuzz - TDD with JavaScript

Fizz buzz is a group word game for children to teach them about division. Players take turns to count incrementally, replacing any number divisible by three with the word "fizz", and any number divisible by five with the word "buzz" - by Wikipedia.

  • Print numbers from 1 to 100
  • Print "Fizz" instead of the number that is divisible by 3
  • Print "Buzz" instead of the number that is divisible by 5
  • Print "FizzBuzz" instead of the number that is divisible by both 3 and 5
Refer article Unit tests for installation,

a. Voice of A Developer: JavaScript Unit Test - Part 34 

and then you can run below commands from console to update node packages and dependencies.
 
a. npm install
b. bower install
 
This program shares a pragmatic approach following TDD. It implies "test first before code". Hope you'll try this.