Commit 1b9c15b1 authored by missingdays's avatar missingdays

Update readme

parent 6eb50899
##Simple factorial module. ## Simple factorial module.
####Calculates factorial of a given number. #### Calculates factorial of a given number.
###Usage ### Usage
> ``` javascript
var factorial = require('my_factorial') var factorial = require('my_factorial')
var n = factorial(5); var n = factorial(5);
// n == 120 // n == 120
```
### Testing
>
npm test
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment