nzakas/computer-science-in-javascript — pull request #16 by zsmahi (2013-08-29 02:26:33+00:00)
Title: Adding some mathematical functions

I've added some mathematical functions
fibonacci(n) : calculate the nth fibonacci term.
factorial(n) : calculate n!
oddEven(n) : test if a number is odd or even
prime(n) : test if a number is prime or not